CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
filesystem: removed lib32 directories
[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
41b60065 8version=0.29
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 \
41b60065 26 --disable-host-tool \
d085a1ac 27 --cache-file=config.cache
de44b81f 28
b46c009d
JB
29 make
30 make DESTDIR=$PKG install
742845df 31
d085a1ac 32 rm -r $PKG/usr/share/doc
b46c009d 33}