2021-01-22 16:44:05 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2023-09-01 13:27:50 +00:00
|
|
|
port='pkgconf'
|
|
|
|
version='1.8.0'
|
2023-07-10 11:10:29 +00:00
|
|
|
files=(
|
2023-09-02 04:32:27 +00:00
|
|
|
"https://distfiles.ariadne.space/pkgconf/pkgconf-${version}.tar.xz#ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf"
|
2023-07-10 11:10:29 +00:00
|
|
|
)
|
2023-09-01 13:27:50 +00:00
|
|
|
useconfigure='true'
|
|
|
|
use_fresh_config_sub='true'
|
2022-01-08 13:32:29 +00:00
|
|
|
# FIXME: This looks suspiciously host-y...
|
2023-09-01 13:27:50 +00:00
|
|
|
configopts=(
|
|
|
|
'--prefix=/usr/local'
|
|
|
|
'--with-pkg-config-dir=/usr/local/lib/pkgconfig'
|
|
|
|
)
|
2020-10-13 11:53:17 +00:00
|
|
|
|
|
|
|
post_install() {
|
2021-04-20 15:42:04 +00:00
|
|
|
run mkdir -p "${SERENITY_INSTALL_ROOT}/bin"
|
2021-03-11 18:50:44 +00:00
|
|
|
# FIXME: Same here, what is this about?!
|
2021-04-20 15:42:04 +00:00
|
|
|
run ln -sf /usr/local/bin/pkgconf "${SERENITY_INSTALL_ROOT}/usr/local/bin/pkg-config"
|
2020-10-13 11:53:17 +00:00
|
|
|
}
|