wok-6.x rev 11043

Up: pciutils to 3.1.8.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 16 07:54:43 2011 +0000 (2011-10-16)
parents f28570fc0263
children 7ce14414626f
files pciutils/receipt
line diff
     1.1 --- a/pciutils/receipt	Sun Oct 16 07:54:18 2011 +0000
     1.2 +++ b/pciutils/receipt	Sun Oct 16 07:54:43 2011 +0000
     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  }