blob: a183c41e0ae6d75f79a81d6b18dd5893dbcb9790 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/gtodo/gtodo-0.14.ebuild,v 1.9 2005/01/01 15:54:44 josejx Exp $
inherit debug flag-o-matic gnome2
strip-flags
IUSE="gnome"
DESCRIPTION="Gtodo is a Gtk+-2.0 Todo list manager written for use with gnome 2."
HOMEPAGE="http://gtodo.qballcow.nl/"
SRC_URI="mirror://sourceforge/gtodo/${P}.tar.gz
gnome? ( http://download.qballcow.nl/programs/${PN}/${PN}-applet-0.1.tar.gz )"
KEYWORDS="x86 amd64 ~ppc"
SLOT="0"
LICENSE="GPL-2"
DEPEND=">=x11-libs/gtk+-2.0
>=dev-libs/libxml2-2.5.8
>=gnome-base/gconf-2.0
>=dev-libs/glib-2.0
dev-util/pkgconfig
>=gnome-base/gnome-vfs-2.0"
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
src_compile(){
econf || die "econf failed"
emake || die "emake failed"
# Gnome Applet
use gnome && (
einfo "Building Gnome Applet..."
cd ${S}/../gtodo-applet-0.1
econf || die "applet econf failed"
emake || die "applet emake failed"
)
}
src_install(){
addwrite /etc/gconf
einstall || die "einstall failed"
# Install Gnome Applet
use gnome && (
einfo "Installing Gnome Applet..."
cd ${S}/../gtodo-applet-0.1
einstall || die "applet einstall failed"
)
}
|