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