diff options
author | Brendan Coles <bcoles@gmail.com> | 2021-04-12 07:12:29 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-12 11:23:48 +0200 |
commit | 435bd841eedafeb085edbef20970bb41bdb0d74f (patch) | |
tree | a71db4aa78d56ce64b9451ed181e85dbdd480e35 /Ports/libtool | |
parent | da177c6517ab0ba77facfe4ff5a078562f887e96 (diff) | |
download | serenity-435bd841eedafeb085edbef20970bb41bdb0d74f.zip |
Ports: Add GNU libtool
Diffstat (limited to 'Ports/libtool')
-rwxr-xr-x | Ports/libtool/package.sh | 16 | ||||
-rw-r--r-- | Ports/libtool/patches/config.sub.patch | 10 |
2 files changed, 26 insertions, 0 deletions
diff --git a/Ports/libtool/package.sh b/Ports/libtool/package.sh new file mode 100755 index 0000000000..914e6632cb --- /dev/null +++ b/Ports/libtool/package.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=libtool +version=2.4 +useconfigure="true" +depends="bash sed" +files="https://ftp.gnu.org/gnu/libtool/libtool-${version}.tar.xz libtool-${version}.tar.xz +https://ftp.gnu.org/gnu/libtool/libtool-${version}.tar.xz.sig libtool-${version}.tar.xz.sig +https://ftp.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg" +auth_type="sig" +auth_opts="--keyring ./gnu-keyring.gpg libtool-${version}.tar.xz.sig" +configopts="--prefix=/usr/local" + +post_install() { + mkdir -p "${SERENITY_BUILD_DIR}/Root/usr/bin" + ln -sf /usr/local/bin/sed "${SERENITY_BUILD_DIR}/Root/usr/bin/sed" +} diff --git a/Ports/libtool/patches/config.sub.patch b/Ports/libtool/patches/config.sub.patch new file mode 100644 index 0000000000..eaad493ff7 --- /dev/null +++ b/Ports/libtool/patches/config.sub.patch @@ -0,0 +1,10 @@ +--- libtool-2.4.6/libltdl/config/config.sub 2010-09-22 07:46:09.000000000 -0700 ++++ libtool-2.4.6/libltdl/config/config.sub 2021-04-11 18:46:03.374661972 -0700 +@@ -1301,6 +1301,7 @@ + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ ++ | -serenity* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* \ |