fixup! Add ports to the Sortix repository.

This commit is contained in:
Jonas 'Sortie' Termansen 2022-01-29 23:10:54 +01:00
parent 480f58d000
commit 2d8e86894a
1 changed files with 5 additions and 2 deletions

View File

@ -22,21 +22,24 @@ e2fsprogs)
UPSTREAM_SITE_TEMPLATE="https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v%v"
;;
binutils|gcc|grub|libstdc++)
VERSION_REGEX="sortix-$NAME_REGEXP-([0-9]+\.[0-9]+(\.[0-9]+)*)(-rc[0-9]+)";;
VERSION_REGEX="sortix-$NAME_REGEXP-([0-9]+\.[0-9]+(\.[0-9]+)*(-rc[0-9]+)?)"
;;
libcurses)
UPSTREAM_SITE="https://ftp.barfooze.de/pub/sabotage/tarballs"
;;
libevent)
VERSION_REGEX="libevent-([0-9]+\\.[0-9]+(\\.[0-9]+)*-stable)"
UPSTREAM_SITE_TEMPLATE="https://github.com/libevent/libevent/releases/download/release-%v"
UPSTREAM_ARCHIVE_TEMPLATE="libevent-%v.tar.gz"
UPSTREAM_ARCHIVE_TEMPLATE="libevent-%v%e"
;;
libexpat)
UPSTREAM_SITE_TEMPLATE="https://github.com/libexpat/libexpat/releases/download/R_%M_%m_%p"
;;
libjpeg)
UPSTREAM_SITE="https://www.ijg.org/files"
# TODO: The last letter is optional but sort -V before the first release.
VERSION_REGEX="jpegsrc.v([0-9]+[a-z])"
UPSTREAM_ARCHIVE_TEMPLATE="jpegsrc.v%v%e"
;;
libgmp)
VERSION_REGEX=$(echo "$UPSTREAM_ARCHIVE" |