wok-next diff pciids/receipt @ rev 19028

Up slitaz-tools-boxes: (975)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 03 13:42:07 2016 +0200 (2016-04-03)
parents 58fa1fbfc3c4
children 03f41e848202
line diff
     1.1 --- a/pciids/receipt	Thu Apr 16 02:29:06 2015 +0300
     1.2 +++ b/pciids/receipt	Sun Apr 03 13:42:07 2016 +0200
     1.3 @@ -3,21 +3,17 @@
     1.4  PACKAGE="pciids"
     1.5  VERSION="20150414"
     1.6  CATEGORY="misc"
     1.7 -SHORT_DESC="pci.ids file for pciutils"
     1.8 +SHORT_DESC="List of PCI ID's"
     1.9  MAINTAINER="slaxemulator@gmail.com"
    1.10  LICENSE="BSD GPL2"
    1.11 -TARBALL="pci-$VERSION.ids"
    1.12  WEB_SITE="http://pciids.sourceforge.net/"
    1.13 -WGET_URL="$WEB_SITE/v2.2/pci.ids"
    1.14 +TARBALL="pci-$VERSION.ids.gz"
    1.15 +WGET_URL="${WEB_SITE}v2.2/pci.ids.gz"
    1.16  HOST_ARCH="i486 arm"
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21  	mkdir -p $fs/usr/share/misc
    1.22 -	[ -f $src/pci-$VERSION.ids ] && mv $src/pci-$VERSION.ids $src/pci.ids
    1.23 -	if [ ! -f $src/pci.ids.gz ]; then
    1.24 -		gzip $src/pci.ids
    1.25 -	fi
    1.26 -	cp -a $src/pci.ids.gz $fs/usr/share/misc
    1.27 +	cp $src/pci-$VERSION.ids.gz $fs/usr/share/misc/pci.ids.gz
    1.28  }