public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/usb_modeswitch: ChangeLog usb_modeswitch-1.2.3_p20120531.ebuild
@ 2012-06-20  3:17 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2012-06-20  3:17 UTC (permalink / raw
  To: gentoo-commits

ssuominen    12/06/20 03:17:01

  Modified:             ChangeLog
  Added:                usb_modeswitch-1.2.3_p20120531.ebuild
  Log:
  Use _p for defining version of the usb-modeswitch-data.
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.31                 sys-apps/usb_modeswitch/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog?rev=1.31&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog?rev=1.31&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog?r1=1.30&r2=1.31

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ChangeLog	19 Jun 2012 19:43:11 -0000	1.30
+++ ChangeLog	20 Jun 2012 03:17:01 -0000	1.31
@@ -1,6 +1,12 @@
 # ChangeLog for sys-apps/usb_modeswitch
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v 1.30 2012/06/19 19:43:11 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v 1.31 2012/06/20 03:17:01 ssuominen Exp $
+
+*usb_modeswitch-1.2.3_p20120531 (20 Jun 2012)
+
+  20 Jun 2012; Samuli Suominen <ssuominen@gentoo.org>
+  +usb_modeswitch-1.2.3_p20120531.ebuild:
+  Use _p for defining version of the usb-modeswitch-data.
 
 *usb_modeswitch-1.2.3-r1 (19 Jun 2012)
 



1.1                  sys-apps/usb_modeswitch/usb_modeswitch-1.2.3_p20120531.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usb_modeswitch/usb_modeswitch-1.2.3_p20120531.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usb_modeswitch/usb_modeswitch-1.2.3_p20120531.ebuild?rev=1.1&content-type=text/plain

Index: usb_modeswitch-1.2.3_p20120531.ebuild
===================================================================
# Copyright 1999-2012 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.2.3_p20120531.ebuild,v 1.1 2012/06/20 03:17:01 ssuominen Exp $

EAPI=4
inherit linux-info toolchain-funcs

MY_PN=${PN/_/-}
MY_P=${MY_PN}-${PV/_p*}
DATA_VER=${PV/*_p}

DESCRIPTION="USB_ModeSwitch is 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 ~x86"
IUSE=""

DEPEND="virtual/libusb:0"
RDEPEND="${DEPEND}
	dev-lang/tcl" # usb_modeswitch script is tcl

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}" install
	dodoc ChangeLog README

	pushd ../${MY_PN}-data-${DATA_VER} >/dev/null
	emake DESTDIR="${D}" files-install db-install
	docinto data
	dodoc ChangeLog README
	popd >/dev/null
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-20  3:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-20  3:17 [gentoo-commits] gentoo-x86 commit in sys-apps/usb_modeswitch: ChangeLog usb_modeswitch-1.2.3_p20120531.ebuild Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox