summaryrefslogtreecommitdiff
path: root/repo/devel/pkg-config.xibuild
blob: aee11f099a7663686338709f8fb771d380d1ec7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

DEPS=(glibc sh)

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 --with-libiconv=gnu
    make
}

check () {
    make check
}

package () {
    make DESTDIR=$PKG_DEST install 
}