summaryrefslogtreecommitdiff
path: root/repo/devel/pkg-config/pkg-config.xibuild
blob: 3db8dfd847c36da7f65c45d43b07a1c2a975c038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 
}