wok-6.x diff 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
line diff
     1.1 --- a/pciutils/receipt	Sun Feb 27 01:38:28 2011 +0100
     1.2 +++ b/pciutils/receipt	Tue Mar 06 20:38:12 2012 +0100
     1.3 @@ -1,32 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pciutils"
     1.7 -VERSION="3.1.7"
     1.8 +VERSION="3.1.8"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Utilities to list PCI device by name (lspci)."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -BUILD_DEPENDS="wget"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -DEPENDS="glibc-base zlib"
    1.15  WEB_SITE="http://mj.ucw.cz/pciutils.html"
    1.16  WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
    1.17  
    1.18 +DEPENDS="glibc-base zlib pciids"
    1.19 +BUILD_DEPENDS="wget"
    1.20 +
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24  	cd $src
    1.25 -	./update-pciids.sh
    1.26  	make PREFIX=/usr IDSDIR=/usr/share/misc
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32 -	mkdir -p $fs/usr/bin $fs/usr/share/misc
    1.33 -	if [ ! -f $src/pci.ids.gz ]; then
    1.34 -		gzip $src/pci.ids
    1.35 -	fi
    1.36 -	cp -a $src/pci.ids.gz $fs/usr/share/misc
    1.37 +	mkdir -p $fs/usr/bin $fs/usr
    1.38  	cp -a $src/lspci $fs/usr/bin
    1.39  	cp -a $src/setpci $fs/usr/bin
    1.40  }
    1.41 @@ -39,5 +35,5 @@
    1.42  
    1.43  post_remove()
    1.44  {
    1.45 -	ln -s /bin/busybox /usr/bin/lspci
    1.46 +	ln -s /bin/busybox $1/usr/bin/lspci
    1.47  }