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
|
2021-03-11 19:03:52 +00:00
|
|
|
files="https://distfiles.dereferenced.org/pkgconf/pkgconf-${version}.tar.xz pkgconf-${version}.tar.xz"
|
2020-10-13 11:53:17 +00:00
|
|
|
useconfigure=true
|
2021-03-11 18:50:44 +00:00
|
|
|
# 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() {
|
2021-03-11 18:50:44 +00:00
|
|
|
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
|
|
|
}
|