ladybird/Ports/pkgconf/package.sh

14 lines
522 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"
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_BUILD_DIR}/Root/bin"
# FIXME: Same here, what is this about?!
run ln -sf /usr/local/bin/pkgconf "${SERENITY_BUILD_DIR}/Root/usr/local/bin/pkg-config"
2020-10-13 11:53:17 +00:00
}