CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkg-config: initial import (verified compilation)
[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
8version=0.23
9release=1
10source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz \
11 $name-${version}_ANSII_libraries.patch)
12
13build() {
14 cd $name-$version
15
16 patch -p1 -i $SRC/$name-${version}_ANSII_libraries.patch
17
18# echo "glib_cv_has__inline=yes" > config.cache
19# echo "glib_cv_hasinline=yes" >> config.cache
20
21 #export GLIB_CFLAGS="-I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include"
22 #export GLIB_LIBS="-L$CLFS/usr/lib -lglib-2.0 -liconv -lintl"
23
24 ./configure --build=$CHOST \
25 --host=$CTARGET \
26 --prefix=/usr \
27 --mandir=/usr/man
28#--with-installed-glib
29# --cache-file=config.cache
30 make
31 make DESTDIR=$PKG install
32}