From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/usb_modeswitch/
Date: Mon, 5 Sep 2016 20:50:06 +0000 (UTC) [thread overview]
Message-ID: <1473108592.6cf396f3515e8b1d238c346c2b17f93375fe3bb0.mrueg@gentoo> (raw)
commit: 6cf396f3515e8b1d238c346c2b17f93375fe3bb0
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 5 20:49:52 2016 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Sep 5 20:49:52 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cf396f3
sys-apps/usb_modeswitch: Version bump to 2.4.0
Package-Manager: portage-2.3.0
sys-apps/usb_modeswitch/Manifest | 2 +
.../usb_modeswitch/usb_modeswitch-2.4.0.ebuild | 67 ++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/sys-apps/usb_modeswitch/Manifest b/sys-apps/usb_modeswitch/Manifest
index 8ce3fde..0388cad 100644
--- a/sys-apps/usb_modeswitch/Manifest
+++ b/sys-apps/usb_modeswitch/Manifest
@@ -1,4 +1,6 @@
DIST usb-modeswitch-2.2.6.tar.bz2 263395 SHA256 7ee42be2fe26dde20c58f54bf678fb136d2706250e4aa74f06fc97268a46e90f SHA512 f19b4c88e9a32af55a4a552cf89a2d25343b499180e41fccf988d34613f8480d49b7586b9b123edabc7cdbbb23073678797e99b7b679dd758924c9300377e067 WHIRLPOOL 107bcbc886cb8fda0d4b754641f237e4d8aa9f491649ae5bf42ee0d589eefc003fa37fc59bea63fd722a4d408f226e427058a235cd27ec6fa984ca1dcfb0a3f3
DIST usb-modeswitch-2.3.0.tar.bz2 263141 SHA256 f93e940c2eb0c585a5d2210177338e68a9b24f409e351e4a854132453246b894 SHA512 5b7a012f31612ab53f817132e5055b45c056e5862f6daf9cb910c004878a93a46c0676040ba20323c110bd7fe3d5d26f2e16200ead2411d12f83e03278ff3a6c WHIRLPOOL 9f6407f21a91db689b465a513aaf685b9f51e5f0d0dbbd4b999bc10cd2236d27aee6a8ffed3bffd29b726f0c336bc2ac4203666674dc9871a5e7040910319987
+DIST usb-modeswitch-2.4.0.tar.bz2 259433 SHA256 17dc32bf10df8e370f2369b5137d34dfd8f2347faaa51524c5f21c922f42e212 SHA512 cf232b8333509012415fe9afbd1becbf54bbf7ebbb6cd450d16546840afc2dbdbc253f8ae6ae294c1e3a490d935e675b984a02ddbe243b57d80443f5d265117c WHIRLPOOL 9fa63f2252113a22d75065ef80fb13938a407c3731b52b47069dac8cc2d12d6eec7caaa91fc21c79f8aa4fe1094c056be70ddff80f8ca091dff60890d95308bf
DIST usb-modeswitch-data-20151101.tar.bz2 30350 SHA256 584d362bc0060c02016edaac7b05ebd6558d5dcbdf14f1ae6d0ec9630265a982 SHA512 416fcf5ca6834b0a7697df4ecdc3ca61c02da7ecd8aff8836b9b8a83be96f9df7fb85ed05befdb6257267875d96ee39ee30affedea9794250f9ea46c1aadd879 WHIRLPOOL 7f95be9e7237425eba32948a72614d4ee68956fad93f2ea0aacb6bf90a0e50240315b321602a1f60ddd4035a667e7ee5160089458220fd35e0634ead395664bd
DIST usb-modeswitch-data-20160112.tar.bz2 31166 SHA256 d679a44a48b1d1f243fea6b4d2bd54e0e08010ff579dd81eaf698954c0c6dfa7 SHA512 2da14d9a6e355921605f5e2231420326bae68b67466907b852c91a4f544101e31bccd703a6ecbae74b69cb518ab86d6732ffcacf4cbeccff55eea5befaedcaa3 WHIRLPOOL 7da9e88f0ba280643a1b04ba4a3d583dbbee2fe557bfdd759cd8b2fe272969eff8f0dbd7ca248ce0e3484037eee63872e2c8718d9b87ca8adc82e503caeb846f
+DIST usb-modeswitch-data-20160803.tar.bz2 31943 SHA256 83f4a277c6e34b8537740ae16bf9275008f7bf3f326134e0f846656a61a756fe SHA512 53c9ce700af986463e211fb918a06732df610403c149565c69e2d29ee5b248def7d607b2d10ba46da2b2d0be93803c1279e739b33eb14049520df6d556335608 WHIRLPOOL c2e2939102a52d975a58860cee79b7b6e8ed2bc917488f05f716c00b6d708eeb99a611b2a018ed13ba26d5f4006c659833c48448d808539e02285c8cd6ed33d6
diff --git a/sys-apps/usb_modeswitch/usb_modeswitch-2.4.0.ebuild b/sys-apps/usb_modeswitch/usb_modeswitch-2.4.0.ebuild
new file mode 100644
index 00000000..ceb9bfd
--- /dev/null
+++ b/sys-apps/usb_modeswitch/usb_modeswitch-2.4.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils linux-info toolchain-funcs udev systemd
+
+MY_PN=${PN/_/-}
+MY_P=${MY_PN}-${PV/_p*}
+#DATA_VER=${PV/*_p}
+DATA_VER="20160803"
+
+DESCRIPTION="A tool for controlling 'flip flop' (multiple devices) USB gear like UMTS sticks"
+HOMEPAGE="http://www.draisberghof.de/usb_modeswitch/ http://www.draisberghof.de/usb_modeswitch/device_reference.txt"
+SRC_URI="http://www.draisberghof.de/${PN}/${MY_P}.tar.bz2
+ http://www.draisberghof.de/${PN}/${MY_PN}-data-${DATA_VER}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="jimtcl"
+
+COMMON_DEPEND="
+ virtual/udev
+ virtual/libusb:1
+"
+RDEPEND="${COMMON_DEPEND}
+ jimtcl? ( dev-lang/jimtcl )
+ !jimtcl? ( dev-lang/tcl:0 )" # usb_modeswitch script is tcl
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+CONFIG_CHECK="~USB_SERIAL"
+
+src_prepare() {
+ sed -i -e '/install.*BIN/s:-s::' Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ SYSDIR="${D}/$(systemd_get_unitdir)" \
+ UDEVDIR="${D}/$(get_udevdir)" \
+ $(usex jimtcl install-shared install)
+
+ # Even if we set SYSDIR above, the Makefile is causing automagic detection of `systemctl` binary,
+ # which is why we need to force the .service file to be installed:
+ systemd_dounit ${PN}@.service
+
+ dodoc ChangeLog README
+
+ pushd ../${MY_PN}-data-${DATA_VER} >/dev/null
+ emake \
+ DESTDIR="${D}" \
+ RULESDIR="${D}/$(get_udevdir)/rules.d" \
+ files-install db-install
+ docinto data
+ dodoc ChangeLog README
+ popd >/dev/null
+}
next reply other threads:[~2016-09-05 20:50 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-05 20:50 Manuel Rüger [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-10 3:41 [gentoo-commits] repo/gentoo:master commit in: sys-apps/usb_modeswitch/ Sam James
2022-07-20 13:59 Pacho Ramos
2021-08-26 17:28 Andreas Sturmlechner
2021-08-26 14:55 Sam James
2021-08-26 7:12 Agostino Sarubbo
2021-08-26 3:00 Sam James
2021-07-16 12:48 Andreas Sturmlechner
2021-04-19 19:19 Andreas Sturmlechner
2021-04-19 19:12 Sam James
2021-04-18 21:27 Sam James
2021-04-18 21:20 Sam James
2021-02-21 8:06 Sam James
2021-02-03 12:07 Lars Wendler
2020-01-09 18:41 Rafael Martins
2018-10-17 10:01 Mikle Kolyada
2018-10-07 11:56 Mikle Kolyada
2018-10-05 12:25 Thomas Deutschmann
2018-03-25 20:40 Gilles Dartiguelongue
2016-01-19 20:52 Manuel Rüger
2016-01-19 20:52 Manuel Rüger
2016-01-09 16:15 Markus Meier
2016-01-02 16:28 Agostino Sarubbo
2015-11-15 12:32 Manuel Rüger
2015-10-03 11:12 Pacho Ramos
2015-10-03 11:12 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1473108592.6cf396f3515e8b1d238c346c2b17f93375fe3bb0.mrueg@gentoo \
--to=mrueg@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox