Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/usb_modeswitch: usb_modeswitch-1.1.1.ebuild ChangeLog
Date: Mon, 05 Apr 2010 11:51:10
Message-Id: 20100405115104.B00B02C04A@corvid.gentoo.org
1 pva 10/04/05 11:51:04
2
3 Modified: ChangeLog
4 Added: usb_modeswitch-1.1.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.6 sys-apps/usb_modeswitch/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 21 Feb 2010 18:28:48 -0000 1.5
23 +++ ChangeLog 5 Apr 2010 11:51:04 -0000 1.6
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/usb_modeswitch
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v 1.5 2010/02/21 18:28:48 robbat2 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v 1.6 2010/04/05 11:51:04 pva Exp $
29 +
30 +*usb_modeswitch-1.1.1 (05 Apr 2010)
31 +
32 + 05 Apr 2010; Peter Volkov <pva@g.o> +usb_modeswitch-1.1.1.ebuild:
33 + Version bump.
34
35 *usb_modeswitch-1.1.0 (21 Feb 2010)
36
37
38
39
40 1.1 sys-apps/usb_modeswitch/usb_modeswitch-1.1.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usb_modeswitch/usb_modeswitch-1.1.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usb_modeswitch/usb_modeswitch-1.1.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: usb_modeswitch-1.1.1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 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.1.1.ebuild,v 1.1 2010/04/05 11:51:04 pva Exp $
50
51 EAPI="2"
52 inherit multilib
53
54 MY_PN="${PN/_/-}"
55 MY_P="${MY_PN}-${PV}"
56 DESCRIPTION="USB_ModeSwitch is a tool for controlling 'flip flop' (multiple devices) USB gear like UMTS sticks"
57 HOMEPAGE="http://www.draisberghof.de/usb_modeswitch/"
58 SRC_URI="http://www.draisberghof.de/usb_modeswitch/${MY_P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE=""
64
65 DEPEND="=virtual/libusb-0*"
66 RDEPEND="${DEPEND}
67 dev-lang/tcl"
68 # TCL rdep is not an error. The runner script is written in it.
69
70 S=${WORKDIR}/${MY_P}
71
72 src_prepare() {
73 make clean || die
74 }
75
76 src_install() {
77 UDEVDIR="/$(get_libdir)/udev/"
78 dodir "${UDEVDIR}" /usr/share/man/man1 "${UDEVDIR}"/rules.d /etc/udev/rules.d/
79 emake files-install DESTDIR="${D}" UDEVDIR="${D}/${UDEVDIR}"
80 insinto /etc/udev/rules.d/
81 newins "${FILESDIR}"/91-usb_modeswitch.rules.udev-ge-106 \
82 91-usb_modeswitch.rules
83 }
84
85 pkg_postinst() {
86 einfo 'For automated mode switching via udev, use "lsusb"'
87 einfo 'to find the correct values for your device and modify'
88 einfo 'them in /etc/udev/rules.d/91-usb_modeswitch.rules'
89 einfo
90 einfo 'You should also read the documentation on'
91 einfo "${HOMEPAGE}"
92 }