summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Fortino (nfortino) <nfortino@gmail.com>2009-03-16 20:58:28 +0000
committerNick Fortino (nfortino) <nfortino@gmail.com>2009-03-16 20:58:28 +0000
commitec9e6f1050c894438d227f4634b28b03f78bfaa3 (patch)
treee267014db7c0112d742492c2867502ab318a4372 /net-mail/checkgmail/checkgmail-1.13.ebuild
parentmedia-gfx/textext: Update ebuild to use EAPI 2. Thanks to Cristian Ruppert an... (diff)
downloadsunrise-ec9e6f1050c894438d227f4634b28b03f78bfaa3.tar.gz
sunrise-ec9e6f1050c894438d227f4634b28b03f78bfaa3.tar.bz2
sunrise-ec9e6f1050c894438d227f4634b28b03f78bfaa3.zip
net-mail/checkgmail: Update ebuild to use EAPI 2. Thanks to Cristian Ruppert and Thomas Sachau for review
svn path=/sunrise/; revision=8093
Diffstat (limited to 'net-mail/checkgmail/checkgmail-1.13.ebuild')
-rw-r--r--net-mail/checkgmail/checkgmail-1.13.ebuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/net-mail/checkgmail/checkgmail-1.13.ebuild b/net-mail/checkgmail/checkgmail-1.13.ebuild
index 0c2abfab3..0320470fb 100644
--- a/net-mail/checkgmail/checkgmail-1.13.ebuild
+++ b/net-mail/checkgmail/checkgmail-1.13.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI="2"
+
inherit eutils
DESCRIPTION="a Gmail Notifier for Linux"
@@ -13,7 +15,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="clickurl savepwd"
-DEPEND=">=dev-perl/gtk2-perl-1.100
+DEPEND="dev-lang/perl[ithreads]
+ >=dev-perl/gtk2-perl-1.100
>=dev-perl/gtk2-trayicon-0.03
>=dev-perl/libwww-perl-5.800
>=dev-perl/Crypt-SSLeay-0.49
@@ -24,14 +27,6 @@ DEPEND=">=dev-perl/gtk2-perl-1.100
savepwd? ( >=dev-perl/Crypt-Simple-0.06 )"
RDEPEND="${DEPEND}"
-pkg_setup() {
- if ! built_with_use dev-lang/perl ithreads ; then
- local msg="Please (re)emerge dev-lang/perl with the ithreads USE flag on"
- eerror "${msg}"
- die "${msg}"
- fi
-}
-
src_install() {
dobin checkgmail || die "dobin failed"
dodoc ChangeLog Readme todo