wok-6.x rev 11042

Add pciids. This is so pciutils doesn't have to download anything.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 16 07:54:18 2011 +0000 (2011-10-16)
parents 06c778aefe9f
children bab6e96ebac3
files pciids/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pciids/receipt	Sun Oct 16 07:54:18 2011 +0000
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pciids"
     1.7 +VERSION="20111016"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="pci.ids file for pciutils"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS=""
    1.12 +TARBALL="pci-$VERSION.ids"
    1.13 +WEB_SITE="http://pciids.sourceforge.net/"
    1.14 +WGET_URL="http://pciids.sourceforge.net/v2.2/pci.ids"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/share/misc
    1.20 +	[ -f $src/pci-$VERSION.ids ] && mv $src/pci-$VERSION.ids $src/pci.ids
    1.21 +	if [ ! -f $src/pci.ids.gz ]; then
    1.22 +		gzip $src/pci.ids
    1.23 +	fi
    1.24 +	cp -a $src/pci.ids.gz $fs/usr/share/misc
    1.25 +}
    1.26 +