summaryrefslogtreecommitdiffstats
path: root/pciutils/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-05-13 21:25:08 +0200
committerpiernov <piernov@piernov.org>2012-05-13 21:25:08 +0200
commitf35fb119bf993d3454668f50a17334e09b77160b (patch)
tree9f1d840f10e24848f8b94eb9c5c4e811e0984232 /pciutils/Pkgfile
parent2814457a550d6a14e6134ac4c06b1f96a92d2061 (diff)
parent933ac25d27eb5fa5f8f983ab8ac8d507e773c044 (diff)
downloadnutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.gz
nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.bz2
nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.xz
nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.zip
Merge branch 'master' of http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe
Diffstat (limited to 'pciutils/Pkgfile')
-rwxr-xr-xpciutils/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/pciutils/Pkgfile b/pciutils/Pkgfile
new file mode 100755
index 000000000..895c8e6fb
--- /dev/null
+++ b/pciutils/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Jeu de programmes pour le listing des modules PCI
+# URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=pciutils
+version=3.1.7
+release=2
+source=( ftp://ftp.kernel.org/pub/software/utils/$name/$name-$version.tar.bz2 )
+
+
+build() {
+ cd $name-$version
+ ./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
+ install -v -m 755 -d $PKG/usr/include/pci
+ install -v -m 644 lib/libpci.a $PKG/usr/lib
+ install -v -m 644 lib/*.h $PKG/usr/include/pci
+}