ladybird/Ports/pkgconf/package.sh

15 lines
600 B
Bash
Raw Normal View History

2021-01-22 16:44:05 +00:00
#!/usr/bin/env -S bash ../.port_include.sh
2020-10-13 11:53:17 +00:00
port=pkgconf
version=1.7.3
files="https://distfiles.dereferenced.org/pkgconf/pkgconf-${version}.tar.xz pkgconf-${version}.tar.xz b846aea51cf696c3392a0ae58bef93e2e72f8e7073ca6ad1ed8b01c85871f9c0"
auth_type=sha256
2020-10-13 11:53:17 +00:00
useconfigure=true
# FIXME: This looks suspiciously host-y...
2020-10-13 11:53:17 +00:00
configopts="--prefix=/usr/local --with-pkg-config-dir=/usr/local/lib/pkgconfig"
post_install() {
run mkdir -p "${SERENITY_INSTALL_ROOT}/bin"
# FIXME: Same here, what is this about?!
run ln -sf /usr/local/bin/pkgconf "${SERENITY_INSTALL_ROOT}/usr/local/bin/pkg-config"
2020-10-13 11:53:17 +00:00
}