wok-6.x annotate pciutils/receipt @ rev 12023

pcmanfm: new icon (Thanks moulefrite)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 06 20:38:12 2012 +0100 (2012-03-06)
parents 2ad34d8fdfe7
children 7b71e52eda4c
rev   line source
pankso@26 1 # SliTaz package receipt.
pankso@26 2
pankso@26 3 PACKAGE="pciutils"
slaxemulator@11043 4 VERSION="3.1.8"
pankso@202 5 CATEGORY="system-tools"
pankso@26 6 SHORT_DESC="Utilities to list PCI device by name (lspci)."
pankso@26 7 MAINTAINER="pankso@slitaz.org"
pankso@26 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
rcx@3754 9 WEB_SITE="http://mj.ucw.cz/pciutils.html"
pankso@26 10 WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
pankso@26 11
slaxemulator@11043 12 DEPENDS="glibc-base zlib pciids"
slaxemulator@11043 13 BUILD_DEPENDS="wget"
slaxemulator@11043 14
pankso@26 15 # Rules to configure and make the package.
pankso@26 16 compile_rules()
pankso@26 17 {
pankso@26 18 cd $src
pankso@26 19 make PREFIX=/usr IDSDIR=/usr/share/misc
pankso@26 20 }
pankso@26 21
pankso@26 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@26 23 genpkg_rules()
pankso@26 24 {
slaxemulator@11043 25 mkdir -p $fs/usr/bin $fs/usr
pankso@26 26 cp -a $src/lspci $fs/usr/bin
pascal@1622 27 cp -a $src/setpci $fs/usr/bin
pankso@26 28 }
pascal@8878 29
pascal@8878 30 # Overlap busybox
pascal@8878 31 pre_install()
pascal@8878 32 {
pascal@8878 33 rm -f $1/usr/bin/lspci
pascal@8878 34 }
pascal@8878 35
pascal@8878 36 post_remove()
pascal@8878 37 {
slaxemulator@11043 38 ln -s /bin/busybox $1/usr/bin/lspci
pascal@8878 39 }