summaryrefslogtreecommitdiff
blob: 4b9c592fb2b983b0791a4f67030e88ae1c9ac758 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmrproject/libmrproject-0.10.ebuild,v 1.4 2004/01/09 16:59:00 agriffis Exp $

inherit gnome.org

IUSE="doc nls python postgres"

DESCRIPTION="MrProject library"
HOMEPAGE="http://mrproject.codefactory.se/"

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

RDEPEND=">=dev-libs/glib-2.0.4
	>=dev-libs/libxml2-2.4.7
	>=gnome-extra/libgsf-1.4
	python? ( >=dev-python/pygtk-2 )
	postgres? ( dev-db/postgresql )"

DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.12.0
	nls? ( >=sys-devel/gettext-0.11.4 )
	doc? ( >=dev-util/gtk-doc-0.10 )"

# FIXME : ugly hack for #29301
addwrite /usr/share/pygtk/2.0/codegen

src_compile() {

	econf \
		`use_enable nls` \
		`use_enable python` \
		`use_enable doc gtk-doc` \
		`use_enable postgres` \
		${myconf} || die

	emake || die

}

src_install() {

	einstall || die

	dodoc AUTHORS COPYING ChangeL* INSTALL NEWS  README*

}