wok-current view usb-modeswitch-data/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
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 }