summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@gentoo.org>2002-01-05 03:06:34 +0000
committerMikael Hallendal <hallski@gentoo.org>2002-01-05 03:06:34 +0000
commit0183cffba324060446ced60c4259c7181e4c634e (patch)
treef699cefb0c5b58d5b8f4983dbacd3e9e457667dc /app-misc/gramps
parentadded ebuilds from Tod (diff)
downloadhistorical-0183cffba324060446ced60c4259c7181e4c634e.tar.gz
historical-0183cffba324060446ced60c4259c7181e4c634e.tar.bz2
historical-0183cffba324060446ced60c4259c7181e4c634e.zip
added ebuild from Tod
Diffstat (limited to 'app-misc/gramps')
-rw-r--r--app-misc/gramps/files/digest-gramps-0.7.01
-rw-r--r--app-misc/gramps/files/gramps-0.7.0-gentoo.diff20
-rw-r--r--app-misc/gramps/gramps-0.7.0.ebuild51
3 files changed, 72 insertions, 0 deletions
diff --git a/app-misc/gramps/files/digest-gramps-0.7.0 b/app-misc/gramps/files/digest-gramps-0.7.0
new file mode 100644
index 000000000000..d9ef1f31aee2
--- /dev/null
+++ b/app-misc/gramps/files/digest-gramps-0.7.0
@@ -0,0 +1 @@
+MD5 8ab24ed95a30b83efab923c7fc18269c gramps-0.7.0.tar.gz 1396736
diff --git a/app-misc/gramps/files/gramps-0.7.0-gentoo.diff b/app-misc/gramps/files/gramps-0.7.0-gentoo.diff
new file mode 100644
index 000000000000..0348159fba54
--- /dev/null
+++ b/app-misc/gramps/files/gramps-0.7.0-gentoo.diff
@@ -0,0 +1,20 @@
+--- /var/tmp/portage/gramps-0.7.0/work/gramps-0.7.0/src/intl.c Sun Nov 25 18:35:45 2001
++++ ./intl.c Fri Jan 4 01:28:51 2002
+@@ -130,6 +130,8 @@
+ initintl20()
+ #elif VER21
+ initintl21()
++#elif VER22
++initintl22()
+ #endif
+ {
+ PyObject *m,*d;
+@@ -139,6 +141,8 @@
+ m=Py_InitModule("intl20",PyIntl_Methods);
+ #elif VER21
+ m=Py_InitModule("intl21",PyIntl_Methods);
++#elif VER22
++ m=Py_InitModule("intl22",PyIntl_Methods);
+ #endif
+ d = PyModule_GetDict(m);
+ PyDict_SetItemString(d,"LC_CTYPE",PyInt_FromLong(LC_CTYPE));
diff --git a/app-misc/gramps/gramps-0.7.0.ebuild b/app-misc/gramps/gramps-0.7.0.ebuild
new file mode 100644
index 000000000000..ab5d8232995b
--- /dev/null
+++ b/app-misc/gramps/gramps-0.7.0.ebuild
@@ -0,0 +1,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.1 2002/01/05 03:06:34 hallski Exp $
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="Genealogical Research and Analysis Management Programming System"
+
+SRC_URI="http://prdownloads.sourceforge.net/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
+}
+
+