summaryrefslogtreecommitdiff
path: root/repo/devel/pkg-config.xibuild
blob: df8fa034c2e0d2668b28af8563e42a889794ea17 (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
25
#!/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        \
            --with-libiconv         \
            --docdir=/usr/share/doc/pkg-config-$PKG_VER --with-libiconv=gnu
    make
}

check () {
    make check
}

package () {
    make DESTDIR=$PKG_DEST install 
}