wok-next view pciutils/receipt @ rev 1766
Up: pciutils (3.0.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Nov 25 16:35:45 2008 +0100 (2008-11-25) |
parents | ee81c50f0cf4 |
children | 89e187b7d309 |
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 WEB_SITE="http://mj.ucw.cz/pciutils.shtml"
10 WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./update-pciids.sh
17 make PREFIX=/usr IDSDIR=/usr/share/misc
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/bin $fs/usr/share/misc
24 cp -a $src/pci.ids.gz $fs/usr/share/misc
25 cp -a $src/lspci $fs/usr/bin
26 cp -a $src/setpci $fs/usr/bin
27 strip -s $fs/usr/bin/*
28 }