summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/pysmssend/pysmssend-1.34.ebuild')
-rw-r--r--app-misc/pysmssend/pysmssend-1.34.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-misc/pysmssend/pysmssend-1.34.ebuild b/app-misc/pysmssend/pysmssend-1.34.ebuild
new file mode 100644
index 000000000..331761fe9
--- /dev/null
+++ b/app-misc/pysmssend/pysmssend-1.34.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Headers: $
+
+NEED_PYTHON=2.4
+
+inherit distutils eutils multilib
+
+DESCRIPTION="Python Application for sending sms over multiple ISPs"
+HOMEPAGE="http://pysmssend.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="qt4"
+
+RDEPEND="dev-python/mechanize
+ qt4? ( dev-python/PyQt4 )"
+
+src_install() {
+ distutils_src_install
+ if use qt4; then
+ insinto /usr/share/${PN}/Icons
+ doins Icons/*
+ doicon Icons/pysmssend.png
+ dobin pysmssend pysmssendcmd || die "failed to create executables"
+ make_desktop_entry pysmssend pySMSsend pysmssend.png "Applications;Network"
+ else
+ dobin pysmssendcmd || die "failed to create executable"
+ dosym pysmssendcmd /usr/bin/pysmssend
+ fi
+ dodoc README AUTHORS TODO || die "dodoc failed"
+}