summaryrefslogtreecommitdiff
blob: c9d0a231ac5dc33c166e579449bcc64435e56a7e (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-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author First Last <your email>
# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-0.7.0.ebuild,v 1.2 2002/05/27 17:27:35 drobbins Exp $

S=${WORKDIR}/${P}

DESCRIPTION="Genealogical Research and Analysis Management Programming System"

SRC_URI="mirror://sourceforge/gramps/${P}.tar.gz"

HOMEPAGE="http://gramps.sourceforge.net/"

DEPEND=">=dev-lang/python-2.0
	>=gnome-base/gnome-core-1.2
	dev-python/gnome-python
	dev-python/PyXML
	dev-python/Imaging
	dev-python/ReportLab"

RDEPEND="${DEPEND}"

src_unpack() {
	
	unpack ${P}.tar.gz
	cd ${S}/src

	#Apply patch to allow compiling with python-2.2
	patch -p0 < ${FILESDIR}/${P}-gentoo.diff

}

src_compile() {
	./configure --host=${CHOST} \
			--prefix=/usr \
			--infodir=/usr/share/info \
			--mandir=/usr/share/man || die
	
	emake || die
}

src_install () {
	make prefix=${D}/usr \
		mandir=${D}/usr/share/man \
		infodir=${D}/usr/share/info \	
		install || die

	dodoc COPYING NEWS README TODO
}