summaryrefslogtreecommitdiff
blob: c3ad8793a85d7f863f2e20a4ce219dc42c1800e3 (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
40
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/mail-notification-0.6.1.ebuild,v 1.3 2004/09/06 16:56:11 ticho Exp $

inherit gnome2 eutils 64-bit

DESCRIPTION="A full-featured GNOME trayicon that checks for mail in a variety of
formats."
HOMEPAGE="http://www.nongnu.org/mailnotify/"
SRC_URI="http://savannah.nongnu.org/download/mailnotify/${P}.tar.gz"

KEYWORDS="~amd64"
SLOT="0"
LICENSE="GPL-2"

IUSE="ssl sasl"

DEPEND=">=x11-libs/gtk+-2.4
	>=dev-util/gob-2
	>=gnome-base/gnome-panel-2
	>=gnome-base/eel-2
	ssl? ( >=dev-libs/openssl-0.9.6 )
	sasl? ( >=dev-libs/cyrus-sasl-2 )"

G2CONF="${G2CONF} $(use_enable ssl)"
G2CONF="${G2CONF} $(use_enable sasl)"

src_unpack() {
	unpack ${A}
	cd ${S}
	64-bit && epatch ${FILESDIR}/${P}-64bit-fix.patch
}

pkg_postinst() {
	echo
	ewarn "You need to restart your GNOME/X11 session for mail-notification"
	ewarn "to work. If you don't do this, this program will crash during the"
	ewarn "setup phase."
	echo
}