wok annotate pciutils/receipt @ rev 3754
Update: pciutils (udev build wants file pci.ids)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 23 15:15:54 2009 +0000 (2009-07-23) |
parents | 7142e5f1f84d |
children | 6a9081920184 |
rev | line source |
---|---|
pankso@26 | 1 # SliTaz package receipt. |
pankso@26 | 2 |
pankso@26 | 3 PACKAGE="pciutils" |
erjo@3154 | 4 VERSION="3.1.2" |
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" |
rcx@3754 | 9 DEPENDS="glibc-base zlib" |
rcx@3754 | 10 WEB_SITE="http://mj.ucw.cz/pciutils.html" |
pankso@26 | 11 WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL" |
pankso@26 | 12 |
pankso@26 | 13 # Rules to configure and make the package. |
pankso@26 | 14 compile_rules() |
pankso@26 | 15 { |
pankso@26 | 16 cd $src |
pankso@26 | 17 ./update-pciids.sh |
pankso@26 | 18 make PREFIX=/usr IDSDIR=/usr/share/misc |
pankso@26 | 19 } |
pankso@26 | 20 |
pankso@26 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@26 | 22 genpkg_rules() |
pankso@26 | 23 { |
pankso@26 | 24 mkdir -p $fs/usr/bin $fs/usr/share/misc |
pankso@673 | 25 cp -a $src/pci.ids.gz $fs/usr/share/misc |
rcx@3754 | 26 # Un-gzipped version currently needed by udev |
rcx@3754 | 27 cp -a $src/pci.ids $fs/usr/share/misc |
pankso@26 | 28 cp -a $src/lspci $fs/usr/bin |
pascal@1622 | 29 cp -a $src/setpci $fs/usr/bin |
pankso@26 | 30 strip -s $fs/usr/bin/* |
pankso@26 | 31 } |