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
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
8version=0.29.2
9release=1
10source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz)
11
12build() {
13 cd $name-$version
14
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
21
22 ./configure --build=$CHOST \
23 --host=$CTARGET \
24 --prefix=/usr \
25 --with-internal-glib \
26 --disable-compile-warnings \
27 --disable-host-tool \
28 --cache-file=config.cache
29
30 make
31 make DESTDIR=$PKG install
32
33 rm -r $PKG/usr/share/doc
34}