summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-11 03:34:12 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-11 03:34:12 +0000
commit80046e16ae9c32370482c30fa90f88b60fdfc874 (patch)
tree1a5372d544cb5996627ffff63a004750e048599b /dev-db/stldb4
parentremove debug code (diff)
downloadgentoo-2-80046e16ae9c32370482c30fa90f88b60fdfc874.tar.gz
gentoo-2-80046e16ae9c32370482c30fa90f88b60fdfc874.tar.bz2
gentoo-2-80046e16ae9c32370482c30fa90f88b60fdfc874.zip
Version bump.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-db/stldb4')
-rw-r--r--dev-db/stldb4/ChangeLog10
-rw-r--r--dev-db/stldb4/files/digest-stldb4-0.4.01
-rw-r--r--dev-db/stldb4/files/stldb4-0.4.0-build.patch19
-rw-r--r--dev-db/stldb4/stldb4-0.4.0.ebuild34
4 files changed, 62 insertions, 2 deletions
diff --git a/dev-db/stldb4/ChangeLog b/dev-db/stldb4/ChangeLog
index f179deb02d79..7a6d38b36730 100644
--- a/dev-db/stldb4/ChangeLog
+++ b/dev-db/stldb4/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/stldb4
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/stldb4/ChangeLog,v 1.6 2005/09/21 23:28:10 halcy0n Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/stldb4/ChangeLog,v 1.7 2006/01/11 03:34:12 vapier Exp $
+
+*stldb4-0.4.0 (11 Jan 2006)
+
+ 11 Jan 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/stldb4-0.4.0-build.patch, +stldb4-0.4.0.ebuild:
+ Version bump.
21 Sep 2005; Mark Loeser <halcy0n@gentoo.org> metadata.xml:
Adding to cpp herd
diff --git a/dev-db/stldb4/files/digest-stldb4-0.4.0 b/dev-db/stldb4/files/digest-stldb4-0.4.0
new file mode 100644
index 000000000000..9cf33674aa0f
--- /dev/null
+++ b/dev-db/stldb4/files/digest-stldb4-0.4.0
@@ -0,0 +1 @@
+MD5 719592a5898981c131f6fae54c738e3b stldb4-0.4.0.tar.bz2 2879576
diff --git a/dev-db/stldb4/files/stldb4-0.4.0-build.patch b/dev-db/stldb4/files/stldb4-0.4.0-build.patch
new file mode 100644
index 000000000000..aa8aa0af5eff
--- /dev/null
+++ b/dev-db/stldb4/files/stldb4-0.4.0-build.patch
@@ -0,0 +1,19 @@
+Add `make install DESTDIR=...` support
+
+--- db-4.1.25/dist/Makefile.in
++++ db-4.1.25/dist/Makefile.in
+@@ -548,10 +548,10 @@
+ INCINC= cxx_common.h cxx_except.h
+ install_include:
+ @echo "Installing DB include files: $(includedir)/STLdb4 ..."
+- @test -d $(includedir)/STLdb4 || \
+- ($(mkdir) -p $(includedir)/STLdb4 && $(chmod) $(dmode) $(includedir)/STLdb4)
+- @cd $(includedir)/STLdb4 && $(rm) -f stldbraw.h
+- @$(cp) -p stldbraw.h $(includedir)/STLdb4
++ @test -d $(DESTDIR)$(includedir)/STLdb4 || \
++ ($(mkdir) -p $(DESTDIR)$(includedir)/STLdb4 && $(chmod) $(dmode) $(DESTDIR)$(includedir)/STLdb4)
++ @cd $(DESTDIR)$(includedir)/STLdb4 && $(rm) -f stldbraw.h
++ @$(cp) -p stldbraw.h $(DESTDIR)$(includedir)/STLdb4
+
+ uninstall_include:
+ @cd $(includedir)/STLdb4 && $(rm) -f stldbraw.h
diff --git a/dev-db/stldb4/stldb4-0.4.0.ebuild b/dev-db/stldb4/stldb4-0.4.0.ebuild
new file mode 100644
index 000000000000..4fe6fd0e587b
--- /dev/null
+++ b/dev-db/stldb4/stldb4-0.4.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/stldb4/stldb4-0.4.0.ebuild,v 1.1 2006/01/11 03:34:12 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="a nice C++ wrapper for db4"
+HOMEPAGE="http://witme.sourceforge.net/libferris.web/"
+SRC_URI="mirror://sourceforge/witme/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/ferrisloki-2.0.3
+ >=dev-libs/libferrisstreams-0.3.6
+ dev-libs/STLport"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_compile() {
+ econf --enable-wrapdebug --enable-rpc --with-uniquename=stldb4 || die
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog NEWS README
+}