summaryrefslogtreecommitdiff
path: root/repo/pkg-config
diff options
context:
space:
mode:
Diffstat (limited to 'repo/pkg-config')
-rw-r--r--repo/pkg-config/pkg-config.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/pkg-config/pkg-config.xibuild b/repo/pkg-config/pkg-config.xibuild
new file mode 100644
index 0000000..3db8dfd
--- /dev/null
+++ b/repo/pkg-config/pkg-config.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="musl"
+
+PKG_VER=0.29.2
+SOURCE=https://pkg-config.freedesktop.org/releases/pkg-config-$PKG_VER.tar.gz
+DESC="Package compiler and linker metadata toolkit"
+
+build () {
+ ./configure --prefix=/usr \
+ --with-internal-glib \
+ --disable-host-tool \
+ --docdir=/usr/share/doc/pkg-config-$PKG_VER
+ make
+}
+
+check () {
+ make check
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}