wok-4.x view pciutils/receipt @ rev 11385

Up: libsigc++ 2.2.10 (fix build issues)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 04:36:45 2011 +0100 (2011-12-10)
parents 2ad34d8fdfe7
children 39f7962e4210
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 }