wok view pciutils/receipt @ rev 11065
Up: awstats to 7.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 00:42:47 2011 +0000 (2011-10-17) |
parents | 2ad34d8fdfe7 |
children | 7b71e52eda4c |
line source
1 # SliTaz package receipt.
3 PACKAGE="pciutils"
4 VERSION="3.1.8"
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.html"
10 WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
12 DEPENDS="glibc-base zlib pciids"
13 BUILD_DEPENDS="wget"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
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
26 cp -a $src/lspci $fs/usr/bin
27 cp -a $src/setpci $fs/usr/bin
28 }
30 # Overlap busybox
31 pre_install()
32 {
33 rm -f $1/usr/bin/lspci
34 }
36 post_remove()
37 {
38 ln -s /bin/busybox $1/usr/bin/lspci
39 }