summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-07-13 00:28:48 +0000
committerMike Frysinger <vapier@gentoo.org>2003-07-13 00:28:48 +0000
commit1b15590901db68080fa445279e3aeb7f47e85b63 (patch)
treee64b17a80b7e52bdb9de3c9963e1958a6bad90cd /dev-db/metakit
parentnew version, mark 2.0.11 x86 (diff)
downloadgentoo-2-1b15590901db68080fa445279e3aeb7f47e85b63.tar.gz
gentoo-2-1b15590901db68080fa445279e3aeb7f47e85b63.tar.bz2
gentoo-2-1b15590901db68080fa445279e3aeb7f47e85b63.zip
fix python support #23704
Diffstat (limited to 'dev-db/metakit')
-rw-r--r--dev-db/metakit/ChangeLog15
-rw-r--r--dev-db/metakit/Manifest10
-rw-r--r--dev-db/metakit/files/digest-metakit-2.4.9.2-r12
-rw-r--r--dev-db/metakit/metakit-2.4.9.2-r1.ebuild48
4 files changed, 66 insertions, 9 deletions
diff --git a/dev-db/metakit/ChangeLog b/dev-db/metakit/ChangeLog
index f5d9e5c93381..4b95bf32a683 100644
--- a/dev-db/metakit/ChangeLog
+++ b/dev-db/metakit/ChangeLog
@@ -1,19 +1,24 @@
# ChangeLog for dev-db/metakit
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/ChangeLog,v 1.5 2003/07/02 08:35:21 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/ChangeLog,v 1.6 2003/07/13 00:28:42 vapier Exp $
- 02 Jul 2003; Patrick Kursawe <phosphan@gentoo.org> metakit-2.4.7.37.ebuild:
- Resolving bug 23855 - einstall instead of make install
+*metakit-2.4.9.2-r1 (12 Jul 2003)
- 11 Jun 2003; Seemant Kulleen <seemant@gentoo.org> metakit-2.4.9.2.ebuild:
- sandbox fix; sed -i being used
+ 12 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump to fix python support #23704.
*metakit-2.4.9.2 (06 Apr 2003)
+ 11 Jun 2003; Seemant Kulleen <seemant@gentoo.org> metakit-2.4.9.2.ebuild:
+ sandbox fix; sed -i being used
+
06 Apr 2003; Donny Davies <woodchip@gentoo.org> metakit-2.4.9.2.ebuild:
Bump, #18224.
*metakit-2.4.7.37 (4 Aug 2002)
+ 02 Jul 2003; Patrick Kursawe <phosphan@gentoo.org> metakit-2.4.7.37.ebuild:
+ Resolving bug 23855 - einstall instead of make install
+
4 Aug 2002; Donny Davies <woodchip@gentoo.org> :
#1315 comes from jherfurth@arafox.com (Julien Herfurth).
diff --git a/dev-db/metakit/Manifest b/dev-db/metakit/Manifest
index 2e07dd7c4f64..2a9e7ce927b1 100644
--- a/dev-db/metakit/Manifest
+++ b/dev-db/metakit/Manifest
@@ -1,5 +1,7 @@
-MD5 fab65ea2f8d2976f85930e9a17820210 metakit-2.4.9.2.ebuild 1486
-MD5 5500b76433691df9008bdbabf7aad21a metakit-2.4.7.37.ebuild 1567
-MD5 cc385f2c8b727b1771f26df25d423765 ChangeLog 723
-MD5 3fc96743460411b499e8c6dd39c756fd files/digest-metakit-2.4.9.2 133
MD5 e045e605eab23d2201a5ba644558f6e7 files/digest-metakit-2.4.7.37 68
+MD5 3fc96743460411b499e8c6dd39c756fd files/digest-metakit-2.4.9.2 133
+MD5 3fc96743460411b499e8c6dd39c756fd files/digest-metakit-2.4.9.2-r1 133
+MD5 5500b76433691df9008bdbabf7aad21a metakit-2.4.7.37.ebuild 1567
+MD5 c334f84d4aafe0976c4943f22ee972a6 ChangeLog 854
+MD5 fab65ea2f8d2976f85930e9a17820210 metakit-2.4.9.2.ebuild 1486
+MD5 084994f0e04f4a128c4ba7d551f45aac metakit-2.4.9.2-r1.ebuild 1227
diff --git a/dev-db/metakit/files/digest-metakit-2.4.9.2-r1 b/dev-db/metakit/files/digest-metakit-2.4.9.2-r1
new file mode 100644
index 000000000000..b1c5a57c8f71
--- /dev/null
+++ b/dev-db/metakit/files/digest-metakit-2.4.9.2-r1
@@ -0,0 +1,2 @@
+MD5 5cdd83f6584ab9b95a7c592c976db650 /metakit-2.4.9.2.ebuild 1630
+MD5 d436a49baed1a31d1ef01ea537e4ba63 metakit-2.4.9.2.tar.gz 869805
diff --git a/dev-db/metakit/metakit-2.4.9.2-r1.ebuild b/dev-db/metakit/metakit-2.4.9.2-r1.ebuild
new file mode 100644
index 000000000000..5ceb524db88b
--- /dev/null
+++ b/dev-db/metakit/metakit-2.4.9.2-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/metakit-2.4.9.2-r1.ebuild,v 1.1 2003/07/13 00:28:42 vapier Exp $
+
+DESCRIPTION="Embedded database library"
+HOMEPAGE="http://www.equi4.com/metakit/"
+SRC_URI="http://www.equi4.com/pub/mk/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="MetaKit"
+KEYWORDS="~x86"
+IUSE="python tcltk"
+
+DEPEND=">=sys-apps/sed-4
+ python? ( >=dev-lang/python-2.2.1 )
+ tcltk? ( >=dev-lang/tcl-8.3.3-r2 )"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ sed -i "s:^\(CXXFLAGS = \).*:\1${CXXFLAGS}:" unix/Makefile.in
+}
+
+src_compile() {
+ local myconf
+ use python && myconf="--with-python"
+ use tcltk && myconf="${myconf} --with-tcl=/usr/include"
+
+ CXXFLAGS="${CXXFLAGS}" unix/configure \
+ ${myconf} \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+
+ emake || die
+}
+
+src_install () {
+ local pydir
+ pydir=`python-config | cut -d" " -f1 | sed -e 's/-l//g'`/site-packages
+
+ [ `use python` ] && dodir /usr/lib/${pydir}
+ make DESTDIR=${D} install || die
+
+ dodoc CHANGES README WHATSNEW
+ dohtml MetaKit.html
+ dohtml -a html,gif,png,jpg -r doc/*
+}