wok-next view usbids/receipt @ rev 20079
Up emacs (2.53)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 25 11:21:45 2017 +0200 (2017-10-25) |
parents | 18c4d15a72df |
children | c4e53a39395a |
line source
1 # SliTaz package receipt.
3 PACKAGE="usbids"
4 VERSION="20161205"
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"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.gz"
13 WGET_URL="http://www.linux-usb.org/usb.ids.gz"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ver=$(zcat $TARBALL | fgrep '# Version:' | tr -cd '0-9')
19 separator
20 echo "Receipt version: $VERSION"
21 echo "Actual version: $ver"
22 separator
24 mkdir -p $install/usr/share/misc
25 cp $src/$TARBALL $install/usr/share/misc/usb.ids.gz
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 copy usb.ids.gz
32 }