Ports: Add GNU libtool

This commit is contained in:
Brendan Coles 2021-04-12 07:12:29 +00:00 committed by Andreas Kling
parent da177c6517
commit 435bd841ee
Notes: sideshowbarker 2024-07-18 20:29:34 +09:00
3 changed files with 27 additions and 0 deletions

View file

@ -49,6 +49,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`libpng`](libpng/) | libpng | 1.6.37 | https://libpng.org/ |
| [`libpuffy`](libpuffy/) | libpuffy | 1.0 | https://github.com/ibara/libpuffy |
| [`libtiff`](libtiff/) | libtiff | 4.2.0 | http://www.libtiff.org/ |
| [`libtool`](libtool/) | libtool | 2.4 | https://www.gnu.org/software/libtool/ |
| [`libvorbis`](libvorbis/) | libvorbis | 1.3.7 | https://github.com/xiph/vorbis |
| [`libzip`](libzip/) | libzip | 1.7.3 | https://libzip.org/ |
| [`links`](links/) | Links web browser | 2.22 | http://links.twibright.com/ |

16
Ports/libtool/package.sh Executable file
View file

@ -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"
}

View file

@ -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* \