wok annotate usbids/receipt @ rev 25060
Up fakeroot (1.29)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 07 08:21:12 2022 +0000 (2022-06-07) |
parents | 0b7b8e414545 |
children | 0c0dd9573395 |
rev | line source |
---|---|
slaxemulator@11045 | 1 # SliTaz package receipt. |
slaxemulator@11045 | 2 |
slaxemulator@11045 | 3 PACKAGE="usbids" |
pascal@24698 | 4 VERSION="2022.02.23" |
slaxemulator@11045 | 5 CATEGORY="misc" |
Hans-G?nter@22089 | 6 SHORT_DESC="List of USB ID's." |
slaxemulator@11045 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15611 | 8 LICENSE="PublicDomain" |
Hans-G?nter@22089 | 9 WEB_SITE="http://www.linux-usb.org/usb-ids.html" |
Hans-G?nter@22089 | 10 |
al@17960 | 11 TARBALL="usb-$VERSION.ids.gz" |
Hans-G?nter@22089 | 12 WGET_URL="http://www.linux-usb.org/usb.ids.gz" |
slaxemulator@11045 | 13 |
pascal@19248 | 14 BUILD_DEPENDS="advancecomp" |
pascal@19247 | 15 |
Hans-G?nter@22089 | 16 HOST_ARCH="i486 arm" |
Hans-G?nter@22089 | 17 |
pascal@24698 | 18 # What is the latest version available today? |
pascal@24175 | 19 current_version() |
pascal@24175 | 20 { |
pascal@24175 | 21 wget -O - http://www.linux-usb.org/usb.ids 2>/dev/null | \ |
pascal@24698 | 22 sed '/^# Version/!d;s|.*: ||;q' |
pascal@24175 | 23 } |
pascal@24175 | 24 |
pascal@19247 | 25 # Rules to configure and make the package. |
pascal@19247 | 26 compile_rules() |
pascal@19247 | 27 { |
pascal@19247 | 28 advdef -z4 usb-$VERSION.ids.gz |
pascal@19247 | 29 } |
pascal@19247 | 30 |
slaxemulator@11045 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11045 | 32 genpkg_rules() |
slaxemulator@11045 | 33 { |
pankso@12476 | 34 mkdir -p $fs/usr/share/misc |
al@17960 | 35 cp $src/usb-$VERSION.ids.gz $fs/usr/share/misc/usb.ids.gz |
slaxemulator@11045 | 36 } |