Gentoo Archives: gentoo-commits

From: "Hanno Boeck (hanno)" <hanno@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/usb_modeswitch: ChangeLog usb_modeswitch-1.0.2.ebuild
Date: Sat, 27 Jun 2009 12:25:19
Message-Id: E1MKWy4-0003HK-JN@stork.gentoo.org
1 hanno 09/06/27 12:25:16
2
3 Modified: ChangeLog
4 Added: usb_modeswitch-1.0.2.ebuild
5 Log:
6 usb_modeswitch bump
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 sys-apps/usb_modeswitch/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 23 Feb 2009 09:43:14 -0000 1.2
23 +++ ChangeLog 27 Jun 2009 12:25:16 -0000 1.3
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/usb_modeswitch
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v 1.2 2009/02/23 09:43:14 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v 1.3 2009/06/27 12:25:16 hanno Exp $
29 +
30 +*usb_modeswitch-1.0.2 (27 Jun 2009)
31 +
32 + 27 Jun 2009; Hanno Boeck <hanno@g.o> +usb_modeswitch-1.0.2.ebuild:
33 + Version bump.
34
35 23 Feb 2009; Diego E. Pettenò <flameeyes@g.o>
36 usb_modeswitch-0.9.4.ebuild:
37
38
39
40 1.1 sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: usb_modeswitch-1.0.2.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild,v 1.1 2009/06/27 12:25:16 hanno Exp $
50
51 inherit toolchain-funcs
52
53 DESCRIPTION="USB_ModeSwitch is a tool for controlling 'flip flop' (multiple devices) USB gear like UMTS sticks."
54 HOMEPAGE="http://www.draisberghof.de/usb_modeswitch/"
55 SRC_URI="http://www.draisberghof.de/usb_modeswitch/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~x86 ~amd64"
60 IUSE=""
61
62 DEPEND="dev-libs/libusb"
63 RDEPEND="${DEPEND}"
64
65 src_compile() {
66 $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o usb_modeswitch usb_modeswitch.c -lusb \
67 || die 'failed to compile usb_modeswitch'
68 }
69
70 src_install() {
71 dosbin usb_modeswitch
72 insinto /etc
73 doins usb_modeswitch.conf
74 insinto /etc/udev/rules.d
75 newins "${FILESDIR}"/91-usb_modeswitch.rules.udev-ge-106 \
76 91-usb_modeswitch.rules
77 }
78
79 pkg_postinst() {
80 einfo 'For automated mode switching via udev, use "lsusb"'
81 einfo 'to find the correct values for your device and modify'
82 einfo 'them in /etc/udev/rules.d/91-usb_modeswitch.rules'
83 einfo
84 einfo 'You should also read the documentation on'
85 einfo "${HOMEPAGE}"
86 }