X-Git-Url: http://gitweb/?a=blobdiff_plain;f=pciutils%2FPkgfile;h=409fa92fa6db3188292d000076863aa99b38bd71;hb=6bf1c65e048a62f01602848ae786604db677db37;hp=56f02cbbc98de3dcd79f252124e659035ab1b540;hpb=6bb6f9553db83e80ad1e2d782bd7cb33db6a90ab;p=crossrootfs.git

diff --git a/pciutils/Pkgfile b/pciutils/Pkgfile
index 56f02cb..409fa92 100644
--- a/pciutils/Pkgfile
+++ b/pciutils/Pkgfile
@@ -2,15 +2,19 @@
 # URL: http://mj.ucw.cz/pciutils.shtml
 # Maintainer: CRUX System Team, core-ports at crux dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on:
+# Depends on: eudev
 
 name=pciutils
-version=3.2.1
+version=3.5.6
 release=1
-source=(ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$name-$version.tar.gz)
+source=(https://www.kernel.org/pub/software/utils/pciutils/$name-$version.tar.xz)
 
 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
+  
+  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
 }