wok-next view usbids/receipt @ rev 20604
More fix libtool.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 13:15:41 2018 +0300 (2018-04-19) |
parents | f463de72afe3 |
children | 1ff723a6455b |
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"
11 TARBALL="$PACKAGE-$VERSION.gz"
12 WGET_URL="http://www.linux-usb.org/usb.ids.gz"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ver=$(zcat $TARBALL | fgrep '# Version:' | tr -cd '0-9')
18 separator
19 echo "Receipt version: $VERSION"
20 echo "Actual version: $ver"
21 separator
23 mkdir -p $install/usr/share/misc
24 cp $src/$TARBALL $install/usr/share/misc/usb.ids.gz
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 copy usb.ids.gz
31 }