wok-stable diff pciids/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pciids/receipt	Fri Apr 28 09:09:24 2017 +0200
     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 +