wok-6.x annotate pciids/receipt @ rev 19247
pciids, usbids: recompress with advdef
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 29 10:29:16 2016 +0200 (2016-06-29) |
parents | da990bedb23e |
children | d5d1aacad4ba |
rev | line source |
---|---|
slaxemulator@11042 | 1 # SliTaz package receipt. |
slaxemulator@11042 | 2 |
slaxemulator@11042 | 3 PACKAGE="pciids" |
al@17949 | 4 VERSION="20150414" |
slaxemulator@11042 | 5 CATEGORY="misc" |
al@17960 | 6 SHORT_DESC="List of PCI ID's" |
slaxemulator@11042 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15375 | 8 LICENSE="BSD GPL2" |
slaxemulator@11042 | 9 WEB_SITE="http://pciids.sourceforge.net/" |
al@17960 | 10 TARBALL="pci-$VERSION.ids.gz" |
al@17960 | 11 WGET_URL="${WEB_SITE}v2.2/pci.ids.gz" |
pankso@12927 | 12 HOST_ARCH="i486 arm" |
pankso@12927 | 13 |
pascal@19247 | 14 BUILD_DEPENDS="advdef" |
pascal@19247 | 15 |
pascal@19247 | 16 # Rules to configure and make the package. |
pascal@19247 | 17 compile_rules() |
pascal@19247 | 18 { |
pascal@19247 | 19 advdef -z4 pci-$VERSION.ids.gz |
pascal@19247 | 20 } |
pascal@19247 | 21 |
slaxemulator@11042 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11042 | 23 genpkg_rules() |
slaxemulator@11042 | 24 { |
slaxemulator@11042 | 25 mkdir -p $fs/usr/share/misc |
al@17960 | 26 cp $src/pci-$VERSION.ids.gz $fs/usr/share/misc/pci.ids.gz |
slaxemulator@11042 | 27 } |