wok-next view pciutils/receipt @ rev 3083
Up: slitaz-tools (3.2) with new tazx for Xorg 7.4 and more
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 16 00:25:45 2009 +0200 (2009-05-16) |
parents | e5b89dcb1480 |
children | 7142e5f1f84d |
line source
1 # SliTaz package receipt.
3 PACKAGE="pciutils"
4 VERSION="3.0.3"
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="zlib"
10 WEB_SITE="http://mj.ucw.cz/pciutils.shtml"
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 cp -a $src/pci.ids.gz $fs/usr/share/misc
26 cp -a $src/lspci $fs/usr/bin
27 cp -a $src/setpci $fs/usr/bin
28 strip -s $fs/usr/bin/*
29 }