summaryrefslogtreecommitdiff
path: root/repo/devel/pkg-config.xibuild
blob: aeaf71cac10b9413ced9f6feaad723df89e655cb (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/bash

MAKEDEPS=(make )
DEPS=(glibc libiconv)

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 
}