wok view pciutils/receipt @ rev 12545

exo: need also gtk+
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 13:40:02 2012 +0200 (2012-04-26)
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 }