summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-06-20 03:17:01 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-06-20 03:17:01 +0000
commit94db193f8706aac5587abd6022dd59d58369042d (patch)
tree78de11f24fc7ac2f351024fa266729cc28c82b2d /sys-apps/usb_modeswitch
parentVersion bump. (diff)
downloadhistorical-94db193f8706aac5587abd6022dd59d58369042d.tar.gz
historical-94db193f8706aac5587abd6022dd59d58369042d.tar.bz2
historical-94db193f8706aac5587abd6022dd59d58369042d.zip
Use _p for defining version of the usb-modeswitch-data.
Package-Manager: portage-2.2.0_alpha110/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/usb_modeswitch')
-rw-r--r--sys-apps/usb_modeswitch/ChangeLog8
-rw-r--r--sys-apps/usb_modeswitch/Manifest17
-rw-r--r--sys-apps/usb_modeswitch/usb_modeswitch-1.2.3_p20120531.ebuild47
3 files changed, 63 insertions, 9 deletions
diff --git a/sys-apps/usb_modeswitch/ChangeLog b/sys-apps/usb_modeswitch/ChangeLog
index e1df6e00daa5..75548e50e80f 100644
--- a/sys-apps/usb_modeswitch/ChangeLog
+++ b/sys-apps/usb_modeswitch/ChangeLog
@@ -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)
diff --git a/sys-apps/usb_modeswitch/Manifest b/sys-apps/usb_modeswitch/Manifest
index 51bb0abc6112..4b54b0f9d45a 100644
--- a/sys-apps/usb_modeswitch/Manifest
+++ b/sys-apps/usb_modeswitch/Manifest
@@ -6,16 +6,17 @@ DIST usb-modeswitch-data-20120120.tar.bz2 19551 RMD160 81dde8100c81c526cc67f8c44
DIST usb-modeswitch-data-20120531.tar.bz2 20390 RMD160 28c82ab426bfb1361f22e89d70625df9d74f085d SHA1 0cd0d4220e372f879538ce696bca7f053731bbb2 SHA256 eed06c3b8d93e69dc708e20d4c621c52e9e9a6325df87cc627c3ef4608b206a9
EBUILD usb_modeswitch-1.2.3-r1.ebuild 1228 RMD160 27c0558735cdd5513ec54040bbd96a3e5561c2e1 SHA1 1722dddb3d1344ce0d02cec56e1339520f90769c SHA256 9ff56112043057a8cb668942d8df1de21e1506205e27b7102697a38f5f4092be
EBUILD usb_modeswitch-1.2.3.ebuild 1223 RMD160 ce531b2bf8abbec981b8c3e0cc6914d6892fe0ca SHA1 2722e1aa51b0863fbcd49856dc8ec56de98136e8 SHA256 7676beb8c73766e334d31f00594cb125a7882311f4661f2c7e0ac28947b3dadd
-MISC ChangeLog 5123 RMD160 f51d5aa2c167466b7804563ec034835caa483bab SHA1 91aa60758e3c500d0cfccafdc8e91016ed58fce4 SHA256 a14eb8fe572f7d21df1c7286ad02e60789014867204ff57ac7c565b1b3e86cc6
+EBUILD usb_modeswitch-1.2.3_p20120531.ebuild 1240 RMD160 6defb3dbe5d8cc3613bdeeb3b314a1c2c6c54655 SHA1 3404c97365c21097641f621c0bb367ca420ba1a3 SHA256 f426bbd485f70bfd6b2f4b4b98e5bc94528fe71d8ac9ffbb5222c32afcfaaf28
+MISC ChangeLog 5325 RMD160 32166fe118e423be6cf8630695b1b06d27f95567 SHA1 1071051cd6f840e4ab679cb3af68297756cdd149 SHA256 9de0032cd367faea7d53e8cab4e1f063dd9f2128ac1d677d3cb5fd4b72447103
MISC metadata.xml 276 RMD160 9ca78cf737628871dde71949d9662f3f23b22439 SHA1 ae9827e55d1b8c7885c771aa12edb61acb06c04f SHA256 ea938beea477b5ab48f8460a5a1536869dca05fa50b3e308fbb4bee7985bc80a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBAgAGBQJP4NVAAAoJEEdUh39IaPFNmhQH/Rec+YfqHn2H26cE+zzhTaie
-MJvPrL7roS44p30qN9NYYJ6kXP7WjJYsyCIEPtKEo0QHnNwlqrezwLvzqDNstDxz
-WsDxOUpU1S6nhptwlODxQ0zRjSSYG0qdE25zxpylSE/QostfFb0YnNJqJy0g55vt
-a6RA0PI8FopW4xjCY12nd6is4eU13ba1XOLGI8aqS8aGC6X/Jggl3/bbTOmcdD00
-6wwIHG1gWzzE/UplVhi2lD/iez5uNkFxxqw1W0eMnsmnK+EGD2BFwFjroCkZKryB
-Aa4HT9ko9dNLHNWKVKNzIypDsd19Idy2pU3NAg7Ncd77CWJDa3pV+6hSvTMg+Jg=
-=veRy
+iQEcBAEBAgAGBQJP4T+aAAoJEEdUh39IaPFNi3sH/0TMnxUVmQkFgPPHZ+hilD6P
+pUf18l+BOGPlPUm5mdlvaJyCuoKkujvNAQYHXGUTzRvY2mvrYrYOLaMXiOAjmKMM
+8fH3XuN8KvEsLySTunjgIKmlG+xZThDt3psZ0dtFLJpo63lhNE032ZFGz8K3u+xr
+9CO6ITIefh7M3EnuBRoHsHvm+gTI0n/Gzj8dWKZ6a1iGXC6TZ0o21ryOoQTZ5NyZ
+vV32xKN+2NAp+vsubJndxsOIpMh/KfoUFWCfNmqMySNxuqOr1GpG+QFHB2xBivix
+Tyqne2IkfaYCnW76kaEaJ03dYV9Dj5KwH/cvayTuu+gspCwhZfUAhKo+ly0JH90=
+=Nilt
-----END PGP SIGNATURE-----
diff --git a/sys-apps/usb_modeswitch/usb_modeswitch-1.2.3_p20120531.ebuild b/sys-apps/usb_modeswitch/usb_modeswitch-1.2.3_p20120531.ebuild
new file mode 100644
index 000000000000..60344320013d
--- /dev/null
+++ b/sys-apps/usb_modeswitch/usb_modeswitch-1.2.3_p20120531.ebuild
@@ -0,0 +1,47 @@
+# 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
+}