summaryrefslogtreecommitdiff
blob: c35459335a87ad47b002f78be781e3c01e32ad12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="a Gmail Notifier for Linux"
HOMEPAGE="http://checkgmail.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="clickurl savepwd"

DEPEND=">=dev-perl/gtk2-perl-1.100
	>=dev-perl/gtk2-trayicon-0.03
	>=dev-perl/libwww-perl-5.800
	>=dev-perl/Crypt-SSLeay-0.49
	>=dev-perl/XML-Simple-2.12
	>=x11-libs/gtk+-2.6
	clickurl? ( >=x11-libs/libsexy-0.1.10
			>=dev-perl/Gtk2-Sexy-0.02 )
	savepwd? ( >=dev-perl/Crypt-Simple-0.06 )"
RDEPEND="${DEPEND}"

pkg_setup() {
	if ! built_with_use dev-lang/perl ithreads ; then
		eerror "Please (re)emerge perl with the ithreads USE flag on before "
		eerror "emerging checkgmail"
		die "please (re)emerge net-mail/checkgmail with USE='ithreads'"
	fi
}

src_install() {
	dobin checkgmail || die "dobin failed"
	dodoc ChangeLog Readme todo
	doman man/checkgmail.1.gz
}