blob: 5487090740b3f5145c3651f48abc74dd4f891e92 (
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
|
# 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.4 2007/02/12 17:35:14 drac 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://cms.qballcow.nl/index.php?page=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="~x86 ~amd64 ~ppc"
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"
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
}
|