wok-next annotate usbids/receipt @ rev 19601
Update/recook bunch of packages (some with known cook fails)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 27 15:35:03 2017 +0200 (2017-01-27) |
parents | d5d1aacad4ba |
children | f463de72afe3 |
rev | line source |
---|---|
slaxemulator@11045 | 1 # SliTaz package receipt. |
slaxemulator@11045 | 2 |
slaxemulator@11045 | 3 PACKAGE="usbids" |
al@19601 | 4 VERSION="20161205" |
slaxemulator@11045 | 5 CATEGORY="misc" |
al@17960 | 6 SHORT_DESC="List of USB ID's" |
slaxemulator@11045 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15611 | 8 LICENSE="PublicDomain" |
al@19601 | 9 WEB_SITE="http://www.linux-usb.org/usb-ids.html" |
pankso@16079 | 10 HOST_ARCH="i486 arm" |
slaxemulator@11045 | 11 |
al@19601 | 12 TARBALL="$PACKAGE-$VERSION.gz" |
al@19601 | 13 WGET_URL="http://www.linux-usb.org/usb.ids.gz" |
pascal@19247 | 14 |
pascal@19247 | 15 # Rules to configure and make the package. |
pascal@19247 | 16 compile_rules() |
pascal@19247 | 17 { |
al@19601 | 18 ver=$(zcat $TARBALL | fgrep '# Version:' | tr -cd '0-9') |
al@19601 | 19 separator |
al@19601 | 20 echo "Receipt version: $VERSION" |
al@19601 | 21 echo "Actual version: $ver" |
al@19601 | 22 separator |
al@19601 | 23 |
al@19601 | 24 mkdir -p $install/usr/share/misc |
al@19601 | 25 cp $src/$TARBALL $install/usr/share/misc/usb.ids.gz |
pascal@19247 | 26 } |
pascal@19247 | 27 |
slaxemulator@11045 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11045 | 29 genpkg_rules() |
slaxemulator@11045 | 30 { |
al@19601 | 31 cook_copy_files usb.ids.gz |
slaxemulator@11045 | 32 } |