summaryrefslogtreecommitdiffstats
path: root/base/pciutils/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/pciutils/Pkgfile')
-rwxr-xr-xbase/pciutils/Pkgfile11
1 files changed, 3 insertions, 8 deletions
diff --git a/base/pciutils/Pkgfile b/base/pciutils/Pkgfile
index 0552788c4..09a0ce4fc 100755
--- a/base/pciutils/Pkgfile
+++ b/base/pciutils/Pkgfile
@@ -2,21 +2,16 @@
# URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
name=pciutils
-version=3.1.3
-release=2
+version=3.1.7
+release=1
source=( ftp://ftp.kernel.org/pub/software/utils/$name/$name-$version.tar.bz2 )
build() {
cd $name-$version
- CFLAGS="${CFLAGS} -fPIC -DPIC"
- sed -i -e 's/^OPT=.*/OPT=-O2 -pipe -fPIC -DPIC/g' Makefile
- ./update-pciids.sh
-
- make PREFIX=/usr
+ make PREFIX=/usr ZLIB=no
mkdir -p $PKG/usr/share/man
mkdir -p $PKG/usr/lib
make PREFIX=$PKG/usr install