summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnant Narayanan <anant@gentoo.org>2007-03-05 21:12:19 +0000
committerAnant Narayanan <anant@gentoo.org>2007-03-05 21:12:19 +0000
commit4c601ae3f9ad0aed7e1a15a83d9c0504bf4398b6 (patch)
tree5051c8cd2db6cb9d9c4a4144e50e0084d1a364b5 /dev-db/metakit
parentadd flag to IUSE (diff)
downloadgentoo-2-4c601ae3f9ad0aed7e1a15a83d9c0504bf4398b6.tar.gz
gentoo-2-4c601ae3f9ad0aed7e1a15a83d9c0504bf4398b6.tar.bz2
gentoo-2-4c601ae3f9ad0aed7e1a15a83d9c0504bf4398b6.zip
vBump to 2.4.9.6, closes bug #133317
(Portage version: 2.1.2.1)
Diffstat (limited to 'dev-db/metakit')
-rw-r--r--dev-db/metakit/ChangeLog7
-rw-r--r--dev-db/metakit/files/digest-metakit-2.4.9.63
-rw-r--r--dev-db/metakit/metakit-2.4.9.6.ebuild62
3 files changed, 71 insertions, 1 deletions
diff --git a/dev-db/metakit/ChangeLog b/dev-db/metakit/ChangeLog
index 0d9ee3194c02..b56e2d264ccd 100644
--- a/dev-db/metakit/ChangeLog
+++ b/dev-db/metakit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/metakit
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/ChangeLog,v 1.34 2007/01/06 02:25:14 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/ChangeLog,v 1.35 2007/03/05 21:12:18 anant Exp $
+
+*metakit-2.4.9.6 (05 Mar 2007)
+
+ 05 Mar 2007; <anant@gentoo.org> +metakit-2.4.9.6.ebuild:
+ vBump to 2.4.9.6, closes bug #133317
06 Jan 2007; Danny van Dyk <kugelfang@gentoo.org>
-metakit-2.4.7.37.ebuild, -metakit-2.4.9.2-r1.ebuild:
diff --git a/dev-db/metakit/files/digest-metakit-2.4.9.6 b/dev-db/metakit/files/digest-metakit-2.4.9.6
new file mode 100644
index 000000000000..83a398de3610
--- /dev/null
+++ b/dev-db/metakit/files/digest-metakit-2.4.9.6
@@ -0,0 +1,3 @@
+MD5 1fc24b1affa5418fc67428014fa369d9 metakit-2.4.9.6.tar.gz 868298
+RMD160 f0515f21c6dfc96f912989155938d9e54b7d0810 metakit-2.4.9.6.tar.gz 868298
+SHA256 bcaef27ca5f0ca44b189ccb0d6fc7e1f07b5781ee1ebda6b75edd8ed4acfe8e2 metakit-2.4.9.6.tar.gz 868298
diff --git a/dev-db/metakit/metakit-2.4.9.6.ebuild b/dev-db/metakit/metakit-2.4.9.6.ebuild
new file mode 100644
index 000000000000..53264009b847
--- /dev/null
+++ b/dev-db/metakit/metakit-2.4.9.6.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/metakit-2.4.9.6.ebuild,v 1.1 2007/03/05 21:12:19 anant Exp $
+
+inherit python multilib eutils
+
+DESCRIPTION="Embedded database library"
+HOMEPAGE="http://www.equi4.com/metakit/"
+SRC_URI="http://www.equi4.com/pub/mk/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~s390 ~sparc ~x86"
+IUSE="python tcl static"
+
+DEPEND=">=sys-apps/sed-4
+ python? ( >=dev-lang/python-2.2.1 )
+ tcl? ( >=dev-lang/tcl-8.3.3-r2 )"
+
+RESTRICT="test"
+
+src_unpack() {
+ python_version
+
+ unpack ${A} ; cd ${S}
+ # Fix all hardcoded python2.5 paths
+ for name in python/scxx/PWOBase.h python/PyHead.h python/PyStorage.cpp ; do
+ sed -i -e "s:Python.h:python${PYVER}/Python.h:" ${name}
+ done
+ sed -i -e "s:python2.5:python${PYVER}:" unix/configure
+}
+
+src_compile() {
+ local myconf mycxxflags
+ use python && myconf="--with-python=/usr/include/python${PYVER},/usr/$(get_libdir)/python${PYVER}/site-packages"
+ use tcl && myconf="${myconf} --with-tcl=/usr/include,/usr/$(get_libdir)"
+ use static && myconf="${myconf} --disable-shared"
+ use static || mycxxflags="-fPIC"
+
+ sed -i -e "s:^\(CXXFLAGS = \).*:\1${CXXFLAGS} ${mycxxflags} -I\$(srcdir)/../include:" unix/Makefile.in
+
+ CXXFLAGS="${CXXFLAGS} ${mycxxflags}" unix/configure \
+ ${myconf} \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --libdir=/usr/$(get_libdir) \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+
+ emake || die
+}
+
+src_install () {
+ python_version
+
+ use python && dodir /usr/$(get_libdir)/python${PYVER}/site-packages
+ make DESTDIR=${D} install || die
+
+ dodoc CHANGES README WHATSNEW
+ dohtml MetaKit.html
+ dohtml -a html,gif,png,jpg -r doc/*
+}