wok-current view pciutils/receipt @ rev 8449
emacs-pkg-vala-mode: fix start file
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Feb 06 21:53:17 2011 +0100 (2011-02-06) |
parents | 5a6a835eb63f |
children | 2ad34d8fdfe7 |
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 BUILD_DEPENDS="wget"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 DEPENDS="glibc-base zlib"
11 WEB_SITE="http://mj.ucw.cz/pciutils.html"
12 WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./update-pciids.sh
19 make PREFIX=/usr IDSDIR=/usr/share/misc
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin $fs/usr/share/misc
26 if [ ! -f $src/pci.ids.gz ]; then
27 gzip $src/pci.ids
28 fi
29 cp -a $src/pci.ids.gz $fs/usr/share/misc
30 cp -a $src/lspci $fs/usr/bin
31 cp -a $src/setpci $fs/usr/bin
32 }