summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbase/pciutils/Pkgfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/base/pciutils/Pkgfile b/base/pciutils/Pkgfile
index 09a0ce4fc..895c8e6fb 100755
--- a/base/pciutils/Pkgfile
+++ b/base/pciutils/Pkgfile
@@ -5,13 +5,16 @@
name=pciutils
version=3.1.7
-release=1
+release=2
source=( ftp://ftp.kernel.org/pub/software/utils/$name/$name-$version.tar.bz2 )
build() {
cd $name-$version
- make PREFIX=/usr ZLIB=no
+ ./update-pciids.sh
+
+ make OPT="$CFLAGS -fPIC -DPIC" ZLIB=no PREFIX=/usr SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
+
mkdir -p $PKG/usr/share/man
mkdir -p $PKG/usr/lib
make PREFIX=$PKG/usr install