summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2004-02-13 21:48:41 +0000
committerBryan Østergaard <kloeri@gentoo.org>2004-02-13 21:48:41 +0000
commit835702e397846048c2a1bbadd84a32a8c6975baa (patch)
tree769436aa58d4bc63871cff3dc57068f69fbc3dd0 /dev-db
parentmore bumps (Manifest recommit) (diff)
downloadgentoo-2-835702e397846048c2a1bbadd84a32a8c6975baa.tar.gz
gentoo-2-835702e397846048c2a1bbadd84a32a8c6975baa.tar.bz2
gentoo-2-835702e397846048c2a1bbadd84a32a8c6975baa.zip
Change python-config usage to python_version.
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/metakit/ChangeLog7
-rw-r--r--dev-db/metakit/files/digest-metakit-2.4.9.3-r11
-rw-r--r--dev-db/metakit/metakit-2.4.9.3-r1.ebuild50
3 files changed, 57 insertions, 1 deletions
diff --git a/dev-db/metakit/ChangeLog b/dev-db/metakit/ChangeLog
index bf570c2f4a81..4a3142096ba7 100644
--- a/dev-db/metakit/ChangeLog
+++ b/dev-db/metakit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/metakit
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/ChangeLog,v 1.10 2004/02/03 15:38:14 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/ChangeLog,v 1.11 2004/02/13 21:48:41 kloeri Exp $
+
+*metakit-2.4.9.3-r1 (13 Feb 2004)
+
+ 13 Feb 2004; <kloeri@gentoo.org> metakit-2.4.9.3-r1.ebuild:
+ Change python-config usage to python_version.
*metakit-2.4.9.3 (29 Jan 2004)
diff --git a/dev-db/metakit/files/digest-metakit-2.4.9.3-r1 b/dev-db/metakit/files/digest-metakit-2.4.9.3-r1
new file mode 100644
index 000000000000..e65673f9faa3
--- /dev/null
+++ b/dev-db/metakit/files/digest-metakit-2.4.9.3-r1
@@ -0,0 +1 @@
+MD5 89a25775fee5db536937f36deb5223f6 metakit-2.4.9.3.tar.gz 894808
diff --git a/dev-db/metakit/metakit-2.4.9.3-r1.ebuild b/dev-db/metakit/metakit-2.4.9.3-r1.ebuild
new file mode 100644
index 000000000000..ae5338fc89e5
--- /dev/null
+++ b/dev-db/metakit/metakit-2.4.9.3-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 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.3-r1.ebuild,v 1.1 2004/02/13 21:48:41 kloeri Exp $
+
+inherit python
+
+DESCRIPTION="Embedded database library"
+HOMEPAGE="http://www.equi4.com/metakit/"
+SRC_URI="http://www.equi4.com/pub/mk/${P}.tar.gz"
+
+LICENSE="MetaKit"
+SLOT="0"
+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
+ sed -i "s:python2.3/site-packages:python-2.3/site-packages:" unix/configure.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 () {
+ python_version
+
+ [ `use python` ] && dodir /usr/lib/python-${PYVER}/site-packages
+ make DESTDIR=${D} install || die
+
+ dodoc CHANGES README WHATSNEW
+ dohtml MetaKit.html
+ dohtml -a html,gif,png,jpg -r doc/*
+}