wok annotate pciids/receipt @ rev 12927
util-linux: cross-compile for ARM (and pack blkid/uuid)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 22:45:34 2012 +0000 (2012-05-29) |
parents | f28570fc0263 |
children | 70470f9c2705 |
rev | line source |
---|---|
slaxemulator@11042 | 1 # SliTaz package receipt. |
slaxemulator@11042 | 2 |
slaxemulator@11042 | 3 PACKAGE="pciids" |
slaxemulator@11042 | 4 VERSION="20111016" |
slaxemulator@11042 | 5 CATEGORY="misc" |
slaxemulator@11042 | 6 SHORT_DESC="pci.ids file for pciutils" |
slaxemulator@11042 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@11042 | 8 TARBALL="pci-$VERSION.ids" |
slaxemulator@11042 | 9 WEB_SITE="http://pciids.sourceforge.net/" |
slaxemulator@11042 | 10 WGET_URL="http://pciids.sourceforge.net/v2.2/pci.ids" |
pankso@12927 | 11 HOST_ARCH="i486 arm" |
pankso@12927 | 12 |
pankso@12927 | 13 DEPENDS="" |
slaxemulator@11042 | 14 |
slaxemulator@11042 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11042 | 16 genpkg_rules() |
slaxemulator@11042 | 17 { |
slaxemulator@11042 | 18 mkdir -p $fs/usr/share/misc |
slaxemulator@11042 | 19 [ -f $src/pci-$VERSION.ids ] && mv $src/pci-$VERSION.ids $src/pci.ids |
slaxemulator@11042 | 20 if [ ! -f $src/pci.ids.gz ]; then |
slaxemulator@11042 | 21 gzip $src/pci.ids |
slaxemulator@11042 | 22 fi |
slaxemulator@11042 | 23 cp -a $src/pci.ids.gz $fs/usr/share/misc |
slaxemulator@11042 | 24 } |
slaxemulator@11042 | 25 |