1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 01:37:36 +00:00

Ports: Add pkgconf (#3757)

This commit is contained in:
Stephen Gregoratto 2020-10-13 11:53:17 +00:00 committed by GitHub
parent 5d5c32cec1
commit b82da6b78b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

12
Ports/pkgconf/package.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash ../.port_include.sh
port=pkgconf
version=1.7.3
files="https://distfiles.dereferenced.org/pkgconf/pkgconf-1.7.3.tar.xz pkgconf-1.7.3.tar.xz"
useconfigure=true
usr_local=$SERENITY_ROOT/Build/Root/usr/local/
configopts="--prefix=/usr/local --with-pkg-config-dir=/usr/local/lib/pkgconfig"
post_install() {
mkdir -p $SERENITY_ROOT/Build/Root/bin
ln -sf /usr/local/bin/pkgconf $SERENITY_ROOT/Build/Root/usr/local/bin/pkg-config
}