summaryrefslogtreecommitdiff
path: root/repo/devel/pkg-config.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/devel/pkg-config.xibuild')
-rw-r--r--repo/devel/pkg-config.xibuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/repo/devel/pkg-config.xibuild b/repo/devel/pkg-config.xibuild
index 9f1e3f4..68ca22e 100644
--- a/repo/devel/pkg-config.xibuild
+++ b/repo/devel/pkg-config.xibuild
@@ -2,15 +2,22 @@
DEPS=(glibc sh)
-SOURCE=https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
+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-0.29.2
+ --docdir=/usr/share/doc/pkg-config-$PKG_VER
make
+}
+
+check () {
make check
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}