CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
grep: updated to 3.1
[crossrootfs.git] / pciutils / Pkgfile
index 8045e2c226eff03e72822d86a2a2a58b4f1244cd..c50ea123eb410e59d5b30e129c5c02cca52159dd 100644 (file)
@@ -1,16 +1,20 @@
 # Description: Library and utilities to access the PCI bus configuration registers
 # URL: http://mj.ucw.cz/pciutils.shtml
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
-# Depends on:
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: eudev
 
 name=pciutils
-version=3.1.4
+version=3.5.2
 release=1
-source=(http://www.kernel.org/pub/software/utils/$name/$name-$version.tar.gz)
+source=(ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$name-$version.tar.gz)
 
 build() {
-    cd $name-$version
-    make CC="$CC" AR="$AR" RANLIB="$RANLIB" OPT="$CFLAGS" PREFIX=/usr ZLIB=no
-    make DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man STRIP="" install install-lib
+  cd $name-$version
+  
+  local CONF="ZLIB=no DESTDIR=$PKG PREFIX=/usr"
+
+  make -j1 $CONF OPT="$CFLAGS" CC="$CC" AR="$AR" RANLIB="$RANLIB" STRIP="-s --strip-program $STRIP" SHARED=yes install install-lib
+  make clean
+  make -j1 $CONF OPT="$CFLAGS" CC="$CC" AR="$AR" RANLIB="$RANLIB" STRIP="-s --strip-program $STRIP" SHARED=no install install-lib
 }