summaryrefslogtreecommitdiffstats
path: root/extra/pciutils/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 16:58:42 +0200
committertnut <tnut at nutyx dot com>2011-10-15 16:58:42 +0200
commite36f3e0bbc2c4b6e967a1f5d1f00e8bb3d28cd44 (patch)
treecc54474496a365aa0150f9331e75c954f4ade816 /extra/pciutils/Pkgfile
parent9288f892b47eac98f03e97934ed4dd3b529ba786 (diff)
downloadnutyx-extra-e36f3e0bbc2c4b6e967a1f5d1f00e8bb3d28cd44.tar.gz
nutyx-extra-e36f3e0bbc2c4b6e967a1f5d1f00e8bb3d28cd44.tar.bz2
nutyx-extra-e36f3e0bbc2c4b6e967a1f5d1f00e8bb3d28cd44.tar.xz
nutyx-extra-e36f3e0bbc2c4b6e967a1f5d1f00e8bb3d28cd44.zip
pciutils dans extra
Diffstat (limited to 'extra/pciutils/Pkgfile')
-rwxr-xr-xextra/pciutils/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/pciutils/Pkgfile b/extra/pciutils/Pkgfile
new file mode 100755
index 000000000..895c8e6fb
--- /dev/null
+++ b/extra/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
+}