summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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