wok-6.x annotate usbids/receipt @ rev 13160

slitaz-boot-scripts: use chroot in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 25 18:28:25 2012 +0200 (2012-07-25)
parents aac186c7f28e
children 0ce4e20eb779
rev   line source
slaxemulator@11045 1 # SliTaz package receipt.
slaxemulator@11045 2
slaxemulator@11045 3 PACKAGE="usbids"
pankso@12476 4 VERSION="20120422"
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