ladybird/Ports/libtool/package.sh
Panagiotis Vasilopoulos 492f7132d2 Ports: Improve consistency and quality of ports
- Replaced /Root with
- Improved documentation.
- Removed a few typos.
- Replaced  with
- Added brackets in some cases.

Most of the changes were reviewed and applied manually.
2021-04-20 18:20:00 +02:00

16 lines
621 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=libtool
version=2.4
useconfigure="true"
depends="bash sed"
files="https://ftpmirror.gnu.org/gnu/libtool/libtool-${version}.tar.xz libtool-${version}.tar.xz
https://ftpmirror.gnu.org/gnu/libtool/libtool-${version}.tar.xz.sig libtool-${version}.tar.xz.sig
https://ftpmirror.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_INSTALL_ROOT}/usr/bin"
ln -sf /usr/local/bin/sed "${SERENITY_INSTALL_ROOT}/usr/bin/sed"
}