CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.5 and aligned with upstream
[crossrootfs.git] / pkg-config / Pkgfile
index a69bab197f6d27616aab7ce252ea9411e8908c54..c763bf3f9362ade6da0517dfe3f9b75dc0c41a32 100644 (file)
@@ -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,}
 }