summaryrefslogtreecommitdiffstats
path: root/main/usb-modeswitch
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-11-30 09:09:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-03 14:39:31 +0000
commit170167ce0cc4a98861f7f6175f6a540cac7be746 (patch)
tree047319409b800b339e4e6bb00a9d2875ae9a410a /main/usb-modeswitch
parentf6423928b6abeec9c3165011061298d968fb1729 (diff)
downloadaports-170167ce0cc4a98861f7f6175f6a540cac7be746.tar.bz2
aports-170167ce0cc4a98861f7f6175f6a540cac7be746.tar.xz
main/usb-modeswitch: upgrade to 2.0.1
Diffstat (limited to 'main/usb-modeswitch')
-rw-r--r--main/usb-modeswitch/APKBUILD25
1 files changed, 12 insertions, 13 deletions
diff --git a/main/usb-modeswitch/APKBUILD b/main/usb-modeswitch/APKBUILD
index 606f2c91f..133204467 100644
--- a/main/usb-modeswitch/APKBUILD
+++ b/main/usb-modeswitch/APKBUILD
@@ -1,22 +1,21 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=usb-modeswitch
-pkgver=1.2.6
+pkgver=2.0.1
pkgrel=0
-_pkgdata=20120815
+_pkgdata=20131113
pkgdesc="A mode switching tool for controlling flip flop (multiple device) USB gear"
url="http://www.draisberghof.de/usb_modeswitch/"
arch="all"
-license="GPL"
+license="GPL2+"
depends="tcl"
makedepends="libusb-compat-dev coreutils"
install=
subpackages="$pkgname-doc"
source="http://www.draisberghof.de/usb_modeswitch/${pkgname}-${pkgver}.tar.bz2
- http://www.draisberghof.de/usb_modeswitch/${pkgname}-data-${_pkgdata}.tar.bz2
- usb_modeswitch.setup"
+ http://www.draisberghof.de/usb_modeswitch/${pkgname}-data-${_pkgdata}.tar.bz2
+ usb_modeswitch.setup"
_builddir="$srcdir"/$pkgname-$pkgver
-
prepare() {
cd "$_builddir"
make clean || return 1
@@ -34,7 +33,7 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
# adjusting the tcl script location
# mv ${pkgdir}/lib/udev/usb_modeswitch/usb_modeswitch.tcl \
# ${pkgdir}/lib/udev/usb_modeswitch.tcl || return 1
@@ -49,12 +48,12 @@ package() {
cp $srcdir/usb_modeswitch.setup $pkgdir/etc/ || return 1
}
-md5sums="3cd804ad2dd4cb61fbd77a5cc033496c usb-modeswitch-1.2.6.tar.bz2
-12d7de3210e45ad6f48791d12bbdbf61 usb-modeswitch-data-20120815.tar.bz2
+md5sums="e48d4419d0574d342bb183f7465556d0 usb-modeswitch-2.0.1.tar.bz2
+7b5ac1226b360ddc366c286e62b3c3a4 usb-modeswitch-data-20131113.tar.bz2
9a25756669937ac86774bb55733f09cd usb_modeswitch.setup"
-sha256sums="041aa3737de6e900e6cfde769afeff5c5091955a22401919abf29b7f24c6f598 usb-modeswitch-1.2.6.tar.bz2
-8819b5dad54f4aa4738ba2420eca1a14739b2d6e42860c8743561de662115f4c usb-modeswitch-data-20120815.tar.bz2
+sha256sums="4706c9cfe825263e189f55730ea3d1d8634aeb15645a1098532e946e770f7f95 usb-modeswitch-2.0.1.tar.bz2
+b3213a460837bd52dad6c8675eda348347f65a034da53a1eaebdaeabf17e2137 usb-modeswitch-data-20131113.tar.bz2
76c0fd9138a6d4a09d6bcee27feeb144c431aed163d556ef60a9c39352ec7f26 usb_modeswitch.setup"
-sha512sums="7b600dbd22e1c1fed665410cecaf5218ad800519f43ddaf34f70dfa027d636135912fc77e03b94c787b4ccd9307de6e063f08816fcbabc5761d1c55d4da0551b usb-modeswitch-1.2.6.tar.bz2
-b667c5615b97fbd60322f564e70075d2a91d28dd6279de2710b41a00cd1310e59627d924b6ef17854803debba430145035fac04ffb4d8301cc49ae04f174da17 usb-modeswitch-data-20120815.tar.bz2
+sha512sums="31d7db9a1c52eab8ee86836deae72fdd1007533ed5a3073964c42b9c354647fede2ab9ab1986bbac18e48ba1b73973c51df1e5c691880fdc073d8226075462c1 usb-modeswitch-2.0.1.tar.bz2
+2814baa93d17658b614b68e3878927a558668d2b13a1e04e2a5c01464e2f226176e8fd32e12d028f6cbeec603f8f710cecfc68300d77b0741e5cd77305f12ff6 usb-modeswitch-data-20131113.tar.bz2
48bc921849c529059c35f00e9cb10e92fee32622d63291bbd7184039bbe4c4324591b4011b24cf9b6c4ed2a7ad90fe0d5287a58631de5114b36f70d4f6f3c250 usb_modeswitch.setup"