summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-05-12 11:06:52 +0000
committerPeter Volkov <pva@gentoo.org>2008-05-12 11:06:52 +0000
commit03d7e93a3a64003ece2d68fccdf3a06f9c6fbc9c (patch)
tree3bc860c954945c2e35a9b0624a904ab46797c3fb /net-dialup/umtsmon
parentStable on ppc wrt bug 219657 (diff)
downloadgentoo-2-03d7e93a3a64003ece2d68fccdf3a06f9c6fbc9c.tar.gz
gentoo-2-03d7e93a3a64003ece2d68fccdf3a06f9c6fbc9c.tar.bz2
gentoo-2-03d7e93a3a64003ece2d68fccdf3a06f9c6fbc9c.zip
Version bump, bug #213132, thank Klaas van Gend for maintaining.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-dialup/umtsmon')
-rw-r--r--net-dialup/umtsmon/ChangeLog7
-rw-r--r--net-dialup/umtsmon/umtsmon-0.8.ebuild65
2 files changed, 71 insertions, 1 deletions
diff --git a/net-dialup/umtsmon/ChangeLog b/net-dialup/umtsmon/ChangeLog
index e526c97d1b90..9842a208007c 100644
--- a/net-dialup/umtsmon/ChangeLog
+++ b/net-dialup/umtsmon/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dialup/umtsmon
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/umtsmon/ChangeLog,v 1.6 2008/01/03 14:22:48 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/umtsmon/ChangeLog,v 1.7 2008/05/12 11:06:52 pva Exp $
+
+*umtsmon-0.8 (12 May 2008)
+
+ 12 May 2008; Peter Volkov <pva@gentoo.org> +umtsmon-0.8.ebuild:
+ Version bump, bug #213132, thank Klaas van Gend for maintaining.
03 Jan 2008; Alin Năstac <mrness@gentoo.org> -umtsmon-0.6.ebuild:
Remove old version.
diff --git a/net-dialup/umtsmon/umtsmon-0.8.ebuild b/net-dialup/umtsmon/umtsmon-0.8.ebuild
new file mode 100644
index 000000000000..23a59b340231
--- /dev/null
+++ b/net-dialup/umtsmon/umtsmon-0.8.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/umtsmon/umtsmon-0.8.ebuild,v 1.1 2008/05/12 11:06:52 pva Exp $
+
+inherit eutils qt3
+
+DESCRIPTION="UMTSmon is a tool to control and monitor a wireless mobile network card (GPRS, EDGE, WCDMA, UMTS, EV-DO, HSDPA)"
+HOMEPAGE="http://umtsmon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/umtsmon/${P}.src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="$(qt_min_version 3.3)
+ dev-libs/libusb"
+RDEPEND="${DEPEND}
+ net-dialup/ppp
+ sys-apps/pcmciautils"
+
+# for i18n support
+# Supported languages and translated documentation
+# Be sure all languages are prefixed with a single space!
+MY_AVAILABLE_LINGUAS=" nl de pt_PT pt_BR"
+IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
+
+src_compile() {
+ eqmake3 || die "eqmake3 failed"
+ emake || die "emake failed"
+
+ #for i18n support
+ local MY_LINGUAS="" lang
+
+ for lang in ${MY_AVAILABLE_LINGUAS} ; do
+ if use linguas_${lang} ; then
+ MY_LINGUAS="${MY_LINGUAS} ${lang}"
+ fi
+ done
+ if [[ -z "${MY_LINGUAS}" ]] ; then
+ #If no language is selected, install 'em all
+ MY_LINGUAS="${MY_AVAILABLE_LINGUAS}"
+ fi
+
+ einfo "Following langpacks will be installed:"
+ einfo " ${MY_LINGUAS}"
+
+ for lang in ${MY_LINGUAS}; do
+ lrelease i18n/umtsmon_${lang}.ts \
+ || die "failed to install langpack for ${lang} language"
+ done
+}
+
+src_install() {
+ dobin umtsmon || die "dobin failed"
+
+ domenu umtsmon.desktop
+ doicon images/128
+
+ # for i18n support
+ insinto /usr/share/umtsmon/translations
+ doins i18n/*.qm
+
+ dodoc AUTHORS README TODO
+}