summaryrefslogtreecommitdiff
path: root/Ports/pkgconf/package.sh
blob: 93f5d11f24f8e7df4217b38ee6ad842ff7cd5591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env -S bash ../.port_include.sh
port=pkgconf
version=1.7.3
files="https://distfiles.dereferenced.org/pkgconf/pkgconf-${version}.tar.xz pkgconf-${version}.tar.xz 2a19acafd0eccb61d09a5bbf7ce18c9d"
auth_type=md5
useconfigure=true
# FIXME: This looks suspiciously host-y... 
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"
}