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 a69bab197f6d27616aab7ce252ea9411e8908c54..887c2ba6a80f7a903f31888d66a23b975f424919 100644 (file)
@@ -5,28 +5,30 @@
 # Depends on:
 
 name=pkg-config
-version=0.23
+version=0.29.2
 release=1
-source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz \
-        $name-${version}_ANSII_libraries.patch)
+source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz)
 
 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"
+  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-installed-glib
-#              --cache-file=config.cache
+              --with-internal-glib \
+              --disable-compile-warnings \
+              --disable-host-tool \
+              --cache-file=config.cache
+  
   make
   make DESTDIR=$PKG install
+
+  rm -r $PKG/usr/share/doc
 }