blob: d77c7b426efea431cdeefa2c27c3ac0b1fc30aa8 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/gtodo/gtodo-0.16.0_rc2.ebuild,v 1.9 2007/11/03 15:15:28 coldwind Exp $
inherit gnome2 versionator
MY_P=${PN}-$(replace_version_separator 3 '-' )
DESCRIPTION="Gnome Task List Manager is a GTK+ based TODO application with applet."
HOMEPAGE="http://sarine.nl/gnome-task-list-manager"
SRC_URI="http://download.qballcow.nl/programs/${PN}/${MY_P}.tar.gz
gnome? ( http://download.qballcow.nl/programs/${PN}/${PN}-applet-0.16-2.tar.gz )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="gnome"
RDEPEND=">=x11-libs/gtk+-2.4
>=dev-libs/libxml2-2.5.8
>=gnome-base/gconf-2
>=dev-libs/glib-2
>=gnome-base/gnome-vfs-2
gnome? ( gnome-base/gnome-panel )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-util/intltool
dev-perl/XML-Parser
sys-devel/gettext
dev-libs/libxslt"
S="${WORKDIR}/${P/_rc2/}"
DOCS="AUTHORS ChangeLog NEWS README"
src_compile() {
econf
emake || die "emake failed."
if use gnome; then
cd "${WORKDIR}/${PN}-applet-0.16-2"
econf
emake || die "emake failed."
fi
}
src_install() {
addwrite /etc/gconf
emake DESTDIR="${D}" install || die "emake install failed."
if use gnome; then
cd "${WORKDIR}/${PN}-applet-0.16-2"
emake DESTDIR="${D}" install || die "emake install failed."
fi
}
|