wok-current rev 22086
updated usb-modeswitch (2.4.0 -> 2.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 31 13:09:03 2019 +0100 (2019-10-31) |
parents | 34f0263a1722 |
children | 71bc63dce596 |
files | usb-modeswitch-data/receipt usb-modeswitch/receipt |
line diff
1.1 --- a/usb-modeswitch-data/receipt Thu Oct 31 12:37:21 2019 +0100 1.2 +++ b/usb-modeswitch-data/receipt Thu Oct 31 13:09:03 2019 +0100 1.3 @@ -1,12 +1,13 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="usb-modeswitch-data" 1.7 -VERSION="20160612" 1.8 +VERSION="20170806" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Device database and the rules file for usb_modeswitch." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 WEB_SITE="http://www.draisberghof.de/usb_modeswitch/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 WGET_URL="http://www.draisberghof.de/usb_modeswitch/$TARBALL" 1.17 1.18 @@ -16,14 +17,16 @@ 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 - make && make install 1.23 + make && 1.24 + make install 1.25 } 1.26 1.27 # Rules to gen a SliTaz package suitable for Tazpkg. 1.28 genpkg_rules() 1.29 { 1.30 mkdir -p $fs/usr 1.31 - cp -a $install/etc $fs 1.32 - cp -a $install/lib/udev $fs/etc 1.33 - cp -a $install/usr $fs 1.34 + 1.35 + cp -a $install/etc $fs 1.36 + cp -a $install/lib/udev $fs/etc 1.37 + cp -a $install/usr $fs 1.38 }
2.1 --- a/usb-modeswitch/receipt Thu Oct 31 12:37:21 2019 +0100 2.2 +++ b/usb-modeswitch/receipt Thu Oct 31 13:09:03 2019 +0100 2.3 @@ -1,17 +1,18 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="usb-modeswitch" 2.7 -VERSION="2.4.0" 2.8 -PACKAGE_DATA="${PACKAGE}-data-20160612" 2.9 +VERSION="2.5.2" 2.10 +PACKAGE_DATA="${PACKAGE}-data-20170806" 2.11 CATEGORY="system-tools" 2.12 +TAGS="3g-modem" 2.13 SHORT_DESC="Handling Mode-Switching USB Devices on Linux." 2.14 MAINTAINER="pankso@slitaz.org" 2.15 LICENSE="GPL2" 2.16 WEB_SITE="http://www.draisberghof.de/usb_modeswitch/" 2.17 + 2.18 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.19 EXTRA_SOURCE_FILES="$PACKAGE_DATA.tar.bz2 usb_modeswitch.setup" 2.20 -WGET_URL="http://www.draisberghof.de/usb_modeswitch/$TARBALL" 2.21 -TAGS="3g-modem" 2.22 +WGET_URL="http://www.draisberghof.de/$PACKAGE/$TARBALL" 2.23 2.24 DEPENDS="libusb" 2.25 BUILD_DEPENDS="libusb-dev" 2.26 @@ -19,9 +20,12 @@ 2.27 # Rules to configure and make the package. 2.28 compile_rules() 2.29 { 2.30 - cd $src 2.31 - mkdir -p $DESTDIR/etc $DESTDIR/lib/udev/usb_modeswitch $DESTDIR/usr/share/man/man1 2.32 - make && make install-static 2.33 + mkdir -p $DESTDIR/etc 2.34 + mkdir -p $DESTDIR/lib/udev/usb_modeswitch 2.35 + mkdir -p $DESTDIR/usr/share/man/man1 2.36 + 2.37 + make && 2.38 + make install-static 2.39 2.40 # download data 2.41 [ -s $SOURCES_REPOSITORY/$PACKAGE_DATA.tar.bz2 ] || 2.42 @@ -38,13 +42,16 @@ 2.43 # Rules to gen a SliTaz package suitable for Tazpkg. 2.44 genpkg_rules() 2.45 { 2.46 - mkdir -p $fs/usr $fs/etc/usb_modeswitch.d $fs/lib/udev/rules.d 2.47 - cp -a $install/etc $fs 2.48 - cp -a $install/lib $fs 2.49 - cp -a $install/var $fs 2.50 - cp -a $install/usr/sbin $fs/usr 2.51 - cp -a $src/$PACKAGE_DATA/usb_modeswitch.d/* $fs/etc/usb_modeswitch.d 2.52 + mkdir -p $fs/usr 2.53 + mkdir -p $fs/etc/usb_modeswitch.d 2.54 + mkdir -p $fs/lib/udev/rules.d 2.55 + 2.56 + cp -a $install/etc $fs 2.57 + cp -a $install/lib $fs 2.58 + cp -a $install/var $fs 2.59 + cp -a $install/usr/sbin $fs/usr 2.60 + cp -a $src/$PACKAGE_DATA/usb_modeswitch.d/* $fs/etc/usb_modeswitch.d 2.61 cp -a $src/$PACKAGE_DATA/40-usb_modeswitch.rules $fs/lib/udev/rules.d 2.62 - cp -a $SOURCES_REPOSITORY/usb_modeswitch.setup $fs/etc/ 2.63 + cp -a $SOURCES_REPOSITORY/usb_modeswitch.setup $fs/etc/ 2.64 chown -R root.root $fs 2.65 }