CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkg-config: updated to 0.29.2
[crossrootfs.git] / pkg-config / Pkgfile
index f57fc9999577c0eafceb25ee9e2ffd5bedf83943..887c2ba6a80f7a903f31888d66a23b975f424919 100644 (file)
@@ -5,26 +5,30 @@
 # Depends on:
 
 name=pkg-config
-version=0.25
+version=0.29.2
 release=1
-source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz
-        $name.diff 
-        $name-${version}_ANSII_libraries.patch)
+source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz)
 
 build() {
   cd $name-$version
 
-  patch -p1 -i $SRC/$name.diff
-  patch -p1 -i $SRC/$name-${version}_ANSII_libraries.patch
+  cat > config.cache << EOF
+glib_cv_stack_grows=no
+glib_cv_uscore=no
+ac_cv_func_posix_getgrgid_r=yes
+ac_cv_func_posix_getpwuid_r=yes
+EOF
 
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --mandir=/usr/man
+              --with-internal-glib \
+              --disable-compile-warnings \
+              --disable-host-tool \
+              --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,}
+  rm -r $PKG/usr/share/doc
 }