wok-current annotate usbids/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@11045 | 1 # SliTaz package receipt. |
slaxemulator@11045 | 2 |
slaxemulator@11045 | 3 PACKAGE="usbids" |
al@17960 | 4 VERSION="20150331" |
slaxemulator@11045 | 5 CATEGORY="misc" |
al@17960 | 6 SHORT_DESC="List of USB ID's" |
slaxemulator@11045 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15611 | 8 LICENSE="PublicDomain" |
al@17024 | 9 WEB_SITE="http://www.linux-usb.org/" |
al@17960 | 10 TARBALL="usb-$VERSION.ids.gz" |
al@17960 | 11 WGET_URL="${WEB_SITE}usb.ids.gz" |
pankso@16079 | 12 HOST_ARCH="i486 arm" |
slaxemulator@11045 | 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 usb-$VERSION.ids.gz |
pascal@19247 | 20 } |
pascal@19247 | 21 |
slaxemulator@11045 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11045 | 23 genpkg_rules() |
slaxemulator@11045 | 24 { |
pankso@12476 | 25 mkdir -p $fs/usr/share/misc |
al@17960 | 26 cp $src/usb-$VERSION.ids.gz $fs/usr/share/misc/usb.ids.gz |
slaxemulator@11045 | 27 } |