X-Git-Url: http://gitweb/?a=blobdiff_plain;ds=sidebyside;f=pciutils%2FPkgfile;h=c50ea123eb410e59d5b30e129c5c02cca52159dd;hb=a11d64f24049d3e681a337c1ba26332ffd2652b4;hp=f737b756bda76a2444761fbef0cc5b3036847898;hpb=572f0ef40a5316455ed84fa026ae25b1baca2e9b;p=crossrootfs.git diff --git a/pciutils/Pkgfile b/pciutils/Pkgfile index f737b75..c50ea12 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.1.7 +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 + + 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 }