wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="usb-modeswitch-data"
4 VERSION="20170806"
5 CATEGORY="system-tools"
6 SHORT_DESC="Device database and the rules file for usb_modeswitch."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.draisberghof.de/usb_modeswitch/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.draisberghof.de/usb_modeswitch/$TARBALL"
14 DEPENDS="usb-modeswitch"
15 BUILD_DEPENDS="coreutils-operations"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
36 cp -a $install/etc $fs
37 cp -a $install/lib/udev $fs/etc
38 cp -a $install/usr $fs
39 }