summaryrefslogtreecommitdiff
path: root/Ports/libtool/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/libtool/package.sh')
-rwxr-xr-xPorts/libtool/package.sh16
1 files changed, 16 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"
+}