wok-6.x view usbids/receipt @ rev 24422
updated claws-mail packages (3.17.5 -> 3.18.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 16:39:51 2022 +0100 (2022-02-11) |
parents | 3b2652bb1db8 |
children | 7aaca7142a16 |
line source
1 # SliTaz package receipt.
3 PACKAGE="usbids"
4 VERSION="20211224"
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 current_version()
19 {
20 wget -O - http://www.linux-usb.org/usb.ids 2>/dev/null | \
21 sed '/^# Version/!d;s|.*: ||;s|\.||g;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 advdef -z4 usb-$VERSION.ids.gz
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/misc
34 cp $src/usb-$VERSION.ids.gz $fs/usr/share/misc/usb.ids.gz
35 }