wok-6.x annotate usb-modeswitch-data/receipt @ rev 24495

updated dolibarr again (10.0.6 -> 14.0.5)
author Hans-G?nter Theisgen
date Sat Feb 19 13:42:19 2022 +0100 (2022-02-19)
parents 53c1379e13fa
children e717a4953b0e
rev   line source
pankso@12080 1 # SliTaz package receipt.
pankso@12080 2
pankso@12080 3 PACKAGE="usb-modeswitch-data"
Hans-G?nter@22086 4 VERSION="20170806"
pankso@12080 5 CATEGORY="system-tools"
pankso@12080 6 SHORT_DESC="Device database and the rules file for usb_modeswitch."
pankso@12080 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@22632 9 WEB_SITE="https://www.draisberghof.de/usb_modeswitch/"
Hans-G?nter@22086 10
pankso@12080 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@12080 12 WGET_URL="http://www.draisberghof.de/usb_modeswitch/$TARBALL"
pankso@12080 13
pankso@12080 14 DEPENDS="usb-modeswitch"
pankso@12115 15 BUILD_DEPENDS="coreutils-operations"
pankso@12080 16
pascal@24462 17 # What is the latest version available today?
pascal@24462 18 current_version()
pascal@24462 19 {
pascal@24462 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24462 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24462 22 }
pascal@24462 23
pankso@12080 24 # Rules to configure and make the package.
pankso@12080 25 compile_rules()
pankso@12080 26 {
Hans-G?nter@22086 27 make &&
Hans-G?nter@22086 28 make install
pankso@12080 29 }
pankso@12080 30
pankso@12080 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12080 32 genpkg_rules()
pankso@12080 33 {
pankso@12080 34 mkdir -p $fs/usr
Hans-G?nter@22086 35
Hans-G?nter@22086 36 cp -a $install/etc $fs
Hans-G?nter@22086 37 cp -a $install/lib/udev $fs/etc
Hans-G?nter@22086 38 cp -a $install/usr $fs
pankso@12080 39 }