wok view usb-modeswitch-data/receipt @ rev 24892

Down libtmp (1.1.17), 1.1.19 doesn't detect smartphones (?)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 07 15:38:15 2022 +0000 (2022-04-07)
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 }