summaryrefslogtreecommitdiff
blob: d9044b48e273152ca8a58b348db6cf078fe61368 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-2.2.9.ebuild,v 1.3 2008/01/14 06:53:56 opfer Exp $

WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"

inherit autotools eutils gnome2

DESCRIPTION="Genealogical Research and Analysis Management Programming System"
HOMEPAGE="http://gramps.sourceforge.net/"
SRC_URI="mirror://sourceforge/gramps/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc x86"
IUSE=""

RDEPEND=">=gnome-base/gconf-2.8
	>=dev-lang/python-2.3
	>=dev-python/pygtk-2.4
	>=dev-python/gnome-python-2.6
	>=gnome-base/gnome-vfs-2.8
	>=app-text/gnome-doc-utils-0.6.1
	media-gfx/graphviz
	>=dev-python/reportlab-1.11"
DEPEND="${RDEPEND}
	sys-devel/gettext
	app-text/scrollkeeper
	virtual/libiconv
	dev-util/pkgconfig"

#MAKEOPTS="${MAKEOPTS} -j1"

DOCS="NEWS README TODO"

pkg_setup() {
	if ! built_with_use 'dev-lang/python' berkdb ; then
		eerror "You need to install python with Berkely Database support."
		eerror "Add 'dev-lang/python berkdb' to /etc/portage/package.use "
		eerror "and then re-emerge python."
		die "berkdb support missing from gnome"
	fi

	G2CONF="${G2CONF} --disable-mime-install"
}

src_unpack() {
	gnome2_src_unpack
	cd "${S}"
	epatch "${FILESDIR}/${PN}-2.2.2-desktop-entry-icon.patch"
}