summaryrefslogtreecommitdiffstats
path: root/base/pciutils/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 22:21:51 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 22:21:51 +0200
commitf17557e22238b0de5aea8af7ce558f718568d038 (patch)
tree10b0dcde360f9b6f038bfb5e6d448b060e8dc77f /base/pciutils/Pkgfile
parent35d615c06dbee219e3f802849b737aa4b7194e0f (diff)
downloadnutyx-extra-f17557e22238b0de5aea8af7ce558f718568d038.tar.gz
nutyx-extra-f17557e22238b0de5aea8af7ce558f718568d038.tar.bz2
nutyx-extra-f17557e22238b0de5aea8af7ce558f718568d038.tar.xz
nutyx-extra-f17557e22238b0de5aea8af7ce558f718568d038.zip
Ajout de pciutils#3.1.3-1
Diffstat (limited to 'base/pciutils/Pkgfile')
-rwxr-xr-xbase/pciutils/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/base/pciutils/Pkgfile b/base/pciutils/Pkgfile
new file mode 100755
index 000000000..ca9ae8664
--- /dev/null
+++ b/base/pciutils/Pkgfile
@@ -0,0 +1,23 @@
+# 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
+# Depends on:
+
+name=pciutils
+version=3.1.3
+release=1
+source=( ftp://ftp.kernel.org/pub/software/utils/$name/$name-$version.tar.bz2 )
+
+
+build() {
+ cd $name-$version
+ sed -i 's/null ;/null 2>\&1 ;/' update-pciids.sh
+ make PREFIX=/usr
+ 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
+}