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

updated perl-test-nowarnings (1.04 -> 1.06)
author Hans-G?nter Theisgen
date Sun Jan 02 10:05:21 2022 +0100 (2022-01-02)
parents 3b2652bb1db8
children 7aaca7142a16
rev   line source
slaxemulator@11045 1 # SliTaz package receipt.
slaxemulator@11045 2
slaxemulator@11045 3 PACKAGE="usbids"
pascal@24175 4 VERSION="20211224"
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@24175 18 current_version()
pascal@24175 19 {
pascal@24175 20 wget -O - http://www.linux-usb.org/usb.ids 2>/dev/null | \
pascal@24175 21 sed '/^# Version/!d;s|.*: ||;s|\.||g;q'
pascal@24175 22 }
pascal@24175 23
pascal@19247 24 # Rules to configure and make the package.
pascal@19247 25 compile_rules()
pascal@19247 26 {
pascal@19247 27 advdef -z4 usb-$VERSION.ids.gz
pascal@19247 28 }
pascal@19247 29
slaxemulator@11045 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@11045 31 genpkg_rules()
slaxemulator@11045 32 {
pankso@12476 33 mkdir -p $fs/usr/share/misc
al@17960 34 cp $src/usb-$VERSION.ids.gz $fs/usr/share/misc/usb.ids.gz
slaxemulator@11045 35 }