wok-4.x annotate pciutils/receipt @ rev 1393
Up: pciutils 3.0.1
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Sep 17 23:55:25 2008 +0200 (2008-09-17) |
parents | b4eb59c224b0 |
children | ee81c50f0cf4 |
rev | line source |
---|---|
pankso@26 | 1 # SliTaz package receipt. |
pankso@26 | 2 |
pankso@26 | 3 PACKAGE="pciutils" |
erjo@1393 | 4 VERSION="3.0.1" |
pankso@202 | 5 CATEGORY="system-tools" |
pankso@26 | 6 SHORT_DESC="Utilities to list PCI device by name (lspci)." |
pankso@26 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@26 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@26 | 9 WEB_SITE="http://mj.ucw.cz/pciutils.shtml" |
pankso@26 | 10 WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL" |
pankso@26 | 11 |
pankso@26 | 12 # Rules to configure and make the package. |
pankso@26 | 13 compile_rules() |
pankso@26 | 14 { |
pankso@26 | 15 cd $src |
pankso@26 | 16 ./update-pciids.sh |
pankso@26 | 17 make PREFIX=/usr IDSDIR=/usr/share/misc |
pankso@26 | 18 } |
pankso@26 | 19 |
pankso@26 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@26 | 21 genpkg_rules() |
pankso@26 | 22 { |
pankso@26 | 23 mkdir -p $fs/usr/bin $fs/usr/share/misc |
pankso@673 | 24 cp -a $src/pci.ids.gz $fs/usr/share/misc |
pankso@26 | 25 cp -a $src/lspci $fs/usr/bin |
pankso@26 | 26 strip -s $fs/usr/bin/* |
pankso@26 | 27 } |
pankso@26 | 28 |