X-Git-Url: http://gitweb/?a=blobdiff_plain;ds=sidebyside;f=pkg-config%2FPkgfile;h=c763bf3f9362ade6da0517dfe3f9b75dc0c41a32;hb=715b604769bc1561c9cc71ab8b01ef10c3f7a492;hp=a69bab197f6d27616aab7ce252ea9411e8908c54;hpb=b46c009ddf49f15d6b0111284159c3f15c9c8936;p=crossrootfs.git diff --git a/pkg-config/Pkgfile b/pkg-config/Pkgfile index a69bab1..c763bf3 100644 --- a/pkg-config/Pkgfile +++ b/pkg-config/Pkgfile @@ -5,28 +5,26 @@ # Depends on: name=pkg-config -version=0.23 -release=1 -source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz \ +version=0.25 +release=2 +source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz + $name.diff $name-${version}_ANSII_libraries.patch) build() { cd $name-$version + patch -p1 -i $SRC/$name.diff 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 + + rm $PKG/usr/share/doc/pkg-config/pkg-config-guide.html + rmdir $PKG/usr/share/doc/{pkg-config,} }