wok-current view usb-modeswitch-data/receipt @ rev 25160

updated py3k-cython (0.29.13 -> 0.29.30)
author Hans-G?nter Theisgen
date Fri Jul 01 09:49:47 2022 +0100 (2022-07-01)
parents 934055de50e2
children d7d313474379
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="https://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 }