diff options
author | Hanno Böck <hanno@gentoo.org> | 2009-06-27 12:25:16 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2009-06-27 12:25:16 +0000 |
commit | 6c066b3acae358f4593d82178e120c18107f7911 (patch) | |
tree | bba9098328c0ad0f31ce1eb971099ca44f15c3e3 /sys-apps/usb_modeswitch | |
parent | version bump (diff) | |
download | gentoo-2-6c066b3acae358f4593d82178e120c18107f7911.tar.gz gentoo-2-6c066b3acae358f4593d82178e120c18107f7911.tar.bz2 gentoo-2-6c066b3acae358f4593d82178e120c18107f7911.zip |
usb_modeswitch bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/usb_modeswitch')
-rw-r--r-- | sys-apps/usb_modeswitch/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild | 40 |
2 files changed, 46 insertions, 1 deletions
diff --git a/sys-apps/usb_modeswitch/ChangeLog b/sys-apps/usb_modeswitch/ChangeLog index a41ceddd41db..8eae6c169189 100644 --- a/sys-apps/usb_modeswitch/ChangeLog +++ b/sys-apps/usb_modeswitch/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/usb_modeswitch # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v 1.2 2009/02/23 09:43:14 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v 1.3 2009/06/27 12:25:16 hanno Exp $ + +*usb_modeswitch-1.0.2 (27 Jun 2009) + + 27 Jun 2009; Hanno Boeck <hanno@gentoo.org> +usb_modeswitch-1.0.2.ebuild: + Version bump. 23 Feb 2009; Diego E. Pettenò <flameeyes@gentoo.org> usb_modeswitch-0.9.4.ebuild: diff --git a/sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild b/sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild new file mode 100644 index 000000000000..983dcd0d156a --- /dev/null +++ b/sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +inherit toolchain-funcs + +DESCRIPTION="USB_ModeSwitch is a tool for controlling 'flip flop' (multiple devices) USB gear like UMTS sticks." +HOMEPAGE="http://www.draisberghof.de/usb_modeswitch/" +SRC_URI="http://www.draisberghof.de/usb_modeswitch/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="dev-libs/libusb" +RDEPEND="${DEPEND}" + +src_compile() { + $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o usb_modeswitch usb_modeswitch.c -lusb \ + || die 'failed to compile usb_modeswitch' +} + +src_install() { + dosbin usb_modeswitch + insinto /etc + doins usb_modeswitch.conf + insinto /etc/udev/rules.d + newins "${FILESDIR}"/91-usb_modeswitch.rules.udev-ge-106 \ + 91-usb_modeswitch.rules +} + +pkg_postinst() { + einfo 'For automated mode switching via udev, use "lsusb"' + einfo 'to find the correct values for your device and modify' + einfo 'them in /etc/udev/rules.d/91-usb_modeswitch.rules' + einfo + einfo 'You should also read the documentation on' + einfo "${HOMEPAGE}" +} |