# Description: A system for managing library compile/link flags # URL: http://pkgconfig.freedesktop.org/wiki/ # Maintainer: CRUX System Team, core-ports at crux dot nu # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: name=pkg-config version=0.23 release=1 source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz \ $name-${version}_ANSII_libraries.patch) build() { cd $name-$version patch -p1 -i $SRC/$name-${version}_ANSII_libraries.patch # echo "glib_cv_has__inline=yes" > config.cache # echo "glib_cv_hasinline=yes" >> config.cache #export GLIB_CFLAGS="-I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include" #export GLIB_LIBS="-L$CLFS/usr/lib -lglib-2.0 -liconv -lintl" ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --mandir=/usr/man #--with-installed-glib # --cache-file=config.cache make make DESTDIR=$PKG install }