wok-6.x annotate usbids/receipt @ rev 13890
Up: tazdev (1.9)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 17 19:37:29 2013 +0100 (2013-01-17) |
parents | 851b91e3134e |
children | 1008a51f2c87 |
rev | line source |
---|---|
slaxemulator@11045 | 1 # SliTaz package receipt. |
slaxemulator@11045 | 2 |
slaxemulator@11045 | 3 PACKAGE="usbids" |
samuel_trassare@13484 | 4 VERSION="20120920" |
slaxemulator@11045 | 5 CATEGORY="misc" |
slaxemulator@11045 | 6 SHORT_DESC="usb.ids file" |
slaxemulator@11045 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@11045 | 8 DEPENDS="" |
slaxemulator@11045 | 9 TARBALL="usb-$VERSION.ids" |
slaxemulator@11045 | 10 WEB_SITE="http://www.linux-usb.org/" |
slaxemulator@11045 | 11 WGET_URL="http://www.linux-usb.org/usb.ids" |
slaxemulator@11045 | 12 |
slaxemulator@11045 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11045 | 14 genpkg_rules() |
slaxemulator@11045 | 15 { |
pankso@12476 | 16 mkdir -p $fs/usr/share/misc |
pankso@12476 | 17 cp -a $src/usb-$VERSION.ids $fs/usr/share/misc/usb.ids |
pankso@12476 | 18 gzip $fs/usr/share/misc/usb.ids |
mojo@13023 | 19 # lsusb from usbutils needs this symlink to find usb.ids |
mojo@13023 | 20 cd $fs/usr/share |
mojo@13023 | 21 ln -s /usr/share/misc/usb.ids.gz |
slaxemulator@11045 | 22 } |
slaxemulator@11045 | 23 |