CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkg-config: updated to 0.29.2
[crossrootfs.git] / pkg-config / Pkgfile
CommitLineData
b46c009d
JB
1# Description: A system for managing library compile/link flags
2# URL: http://pkgconfig.freedesktop.org/wiki/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5# Depends on:
6
7name=pkg-config
c41bed02 8version=0.29.2
d085a1ac
VM
9release=1
10source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz)
b46c009d
JB
11
12build() {
13 cd $name-$version
14
d085a1ac
VM
15 cat > config.cache << EOF
16glib_cv_stack_grows=no
17glib_cv_uscore=no
18ac_cv_func_posix_getgrgid_r=yes
19ac_cv_func_posix_getpwuid_r=yes
20EOF
b46c009d 21
b46c009d
JB
22 ./configure --build=$CHOST \
23 --host=$CTARGET \
24 --prefix=/usr \
d085a1ac 25 --with-internal-glib \
758d8790 26 --disable-compile-warnings \
41b60065 27 --disable-host-tool \
d085a1ac 28 --cache-file=config.cache
de44b81f 29
b46c009d
JB
30 make
31 make DESTDIR=$PKG install
742845df 32
d085a1ac 33 rm -r $PKG/usr/share/doc
b46c009d 34}