summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-08-05 03:28:41 +0000
committerDonny Davies <woodchip@gentoo.org>2002-08-05 03:28:41 +0000
commitc1b04749eb84c4cb93cce3215686e8e370e7a101 (patch)
treebc298086b2ad889cc4489cc218ce286ae2845e0d /dev-db
parentmask new pkg; #1315 (diff)
downloadhistorical-c1b04749eb84c4cb93cce3215686e8e370e7a101.tar.gz
historical-c1b04749eb84c4cb93cce3215686e8e370e7a101.tar.bz2
historical-c1b04749eb84c4cb93cce3215686e8e370e7a101.zip
added #1315; temp masked
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/metakit/ChangeLog9
-rw-r--r--dev-db/metakit/files/digest-metakit-2.4.7.371
-rw-r--r--dev-db/metakit/metakit-2.4.7.37.ebuild59
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-db/metakit/ChangeLog b/dev-db/metakit/ChangeLog
new file mode 100644
index 000000000000..e323cc409fae
--- /dev/null
+++ b/dev-db/metakit/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-db/metakit
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/ChangeLog,v 1.1 2002/08/05 03:28:41 woodchip Exp $
+
+*metakit-2.4.7.37 (4 Aug 2002)
+
+ 4 Aug 2002; Donny Davies <woodchip@gentoo.org> :
+
+ #1315 comes from jherfurth@arafox.com (Julien Herfurth).
diff --git a/dev-db/metakit/files/digest-metakit-2.4.7.37 b/dev-db/metakit/files/digest-metakit-2.4.7.37
new file mode 100644
index 000000000000..109840b7a2ad
--- /dev/null
+++ b/dev-db/metakit/files/digest-metakit-2.4.7.37
@@ -0,0 +1 @@
+MD5 341eedb34a44c4242bac9b18b1a3a72e metakit-2.4.7-37.tar.gz 881371
diff --git a/dev-db/metakit/metakit-2.4.7.37.ebuild b/dev-db/metakit/metakit-2.4.7.37.ebuild
new file mode 100644
index 000000000000..154daaaf0e82
--- /dev/null
+++ b/dev-db/metakit/metakit-2.4.7.37.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2002 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.7.37.ebuild,v 1.1 2002/08/05 03:28:41 woodchip Exp $
+
+S=${WORKDIR}/${PN}-${PV%.*}
+DESCRIPTION="Embedded database library"
+HOMEPAGE="http://www.equi4.com/metakit/"
+SRC_URI="http://www.equi4.com/pub/mk/${PN}-${PV%.*}-${PV##*.}.tar.gz"
+DEPEND="python? ( >=dev-lang/python-2.2.1 ) tcltk? ( >=dev-lang/tcl-8.3.3-r2 )"
+RDEPEND="${DEPEND}"
+KEYWORDS="x86"
+LICENSE="MetaKit"
+SLOT="0"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ cp unix/Makefile.in unix/Makefile.in.orig
+ sed -e "s:^\(CXXFLAGS = \).*:\1${CXXFLAGS}:" unix/Makefile.in.orig \
+ > unix/Makefile.in
+}
+
+src_compile() {
+ local myconf
+ use python && myconf="--enable-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
+
+ make \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die
+
+ if [ -n "`use python`" ]
+ then
+ mkdir -p ${D}/usr/lib/${pydir}
+ # Because libmk4py.so export Mk4pyinit, that Python will look for ...
+ # shouldn't do a mv instead of a cp ? Who needs libmk4py.so ?
+ cp ${D}/usr/lib/libmk4py.so ${D}/usr/lib/${pydir}/Mk4py.so
+ cp python/metakit.py ${D}/usr/lib/${pydir}
+ fi
+
+ dodoc CHANGES README WHATSNEW
+ dohtml MetaKit.html
+ dohtml -a html,gif,png,jpg -r doc/*
+}