wok view pciutils/receipt @ rev 7848
Up: mc to 4.7.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Dec 28 13:30:00 2010 +0000 (2010-12-28) |
parents | 64a3162d33f5 |
children | aa920dfe273d |
line source
1 # SliTaz package receipt.
3 PACKAGE="pciutils"
4 VERSION="3.1.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities to list PCI device by name (lspci)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="glibc-base zlib"
10 WEB_SITE="http://mj.ucw.cz/pciutils.html"
11 WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./update-pciids.sh
18 make PREFIX=/usr IDSDIR=/usr/share/misc
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin $fs/usr/share/misc
25 if [ ! -f $src/pci.ids.gz ]; then
26 gzip $src/pci.ids
27 fi
28 cp -a $src/pci.ids.gz $fs/usr/share/misc
29 cp -a $src/lspci $fs/usr/bin
30 cp -a $src/setpci $fs/usr/bin
31 }