wok-current annotate usbids/receipt @ rev 25730
Fix depend for xorg-server (libxshmfence)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 13:05:56 2024 +0000 (2 weeks ago) |
parents | 0c0dd9573395 |
children |
rev | line source |
---|---|
slaxemulator@11045 | 1 # SliTaz package receipt. |
slaxemulator@11045 | 2 |
slaxemulator@11045 | 3 PACKAGE="usbids" |
Hans-G?nter@25392 | 4 VERSION="2022.08.01" |
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 |
shann@25728 | 16 HOST_ARCH="i486 arm x86_64" |
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 |
Hans-G?nter@25392 | 35 cp $src/usb-$VERSION.ids.gz $fs/usr/share/misc/usb.ids.gz |
slaxemulator@11045 | 36 } |