wok-current view usbids/receipt @ rev 25019
updated openjpeg2 and openjpeg2-dev (2.3.1 -> 2.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 07:22:38 2022 +0100 (2022-05-18) |
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 }