X-Git-Url: http://gitweb/?a=blobdiff_plain;f=pciutils%2FPkgfile;h=c50ea123eb410e59d5b30e129c5c02cca52159dd;hb=cce243948693aa4f41e7904b81d683d45a232c85;hp=367bffc5e5b24b39fe42fcf4af71ce4e4f650741;hpb=cde64b850e02cae0a2b90dbebcf879f0d8f3e77e;p=crossrootfs.git diff --git a/pciutils/Pkgfile b/pciutils/Pkgfile index 367bffc..c50ea12 100644 --- a/pciutils/Pkgfile +++ b/pciutils/Pkgfile @@ -5,12 +5,16 @@ # Depends on: eudev name=pciutils -version=3.4.0 +version=3.5.2 release=1 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 + + 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 }