wok-6.x annotate pciids/receipt @ rev 16018
Add gritz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 05 17:48:08 2014 +0000 (2014-03-05) |
parents | 51a1ebbda768 |
children | 58fa1fbfc3c4 |
rev | line source |
---|---|
slaxemulator@11042 | 1 # SliTaz package receipt. |
slaxemulator@11042 | 2 |
slaxemulator@11042 | 3 PACKAGE="pciids" |
pankso@15954 | 4 VERSION="20140222" |
slaxemulator@11042 | 5 CATEGORY="misc" |
slaxemulator@11042 | 6 SHORT_DESC="pci.ids file for pciutils" |
slaxemulator@11042 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15375 | 8 LICENSE="BSD GPL2" |
slaxemulator@11042 | 9 TARBALL="pci-$VERSION.ids" |
slaxemulator@11042 | 10 WEB_SITE="http://pciids.sourceforge.net/" |
slaxemulator@11042 | 11 WGET_URL="http://pciids.sourceforge.net/v2.2/pci.ids" |
pankso@12927 | 12 HOST_ARCH="i486 arm" |
pankso@12927 | 13 |
slaxemulator@11042 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11042 | 15 genpkg_rules() |
slaxemulator@11042 | 16 { |
slaxemulator@11042 | 17 mkdir -p $fs/usr/share/misc |
slaxemulator@11042 | 18 [ -f $src/pci-$VERSION.ids ] && mv $src/pci-$VERSION.ids $src/pci.ids |
slaxemulator@11042 | 19 if [ ! -f $src/pci.ids.gz ]; then |
slaxemulator@11042 | 20 gzip $src/pci.ids |
slaxemulator@11042 | 21 fi |
slaxemulator@11042 | 22 cp -a $src/pci.ids.gz $fs/usr/share/misc |
slaxemulator@11042 | 23 } |
slaxemulator@11042 | 24 |