summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-04-19 16:10:26 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-04-19 16:10:26 +0000
commit9c5ace36e2576473220438426c9f178b3e9fdc64 (patch)
tree0a32cb38ab00194a970600480fc6122e53460d1e /dev-db
parentold (diff)
downloadgentoo-2-9c5ace36e2576473220438426c9f178b3e9fdc64.tar.gz
gentoo-2-9c5ace36e2576473220438426c9f178b3e9fdc64.tar.bz2
gentoo-2-9c5ace36e2576473220438426c9f178b3e9fdc64.zip
Version bump dev-db/couchdb to 0.10.2.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/couchdb/ChangeLog7
-rw-r--r--dev-db/couchdb/couchdb-0.10.2.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/dev-db/couchdb/ChangeLog b/dev-db/couchdb/ChangeLog
index 857aac98a0f8..822c7852debf 100644
--- a/dev-db/couchdb/ChangeLog
+++ b/dev-db/couchdb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/couchdb
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/ChangeLog,v 1.21 2010/03/29 20:27:31 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/ChangeLog,v 1.22 2010/04/19 16:10:26 djc Exp $
+
+*couchdb-0.10.2 (19 Apr 2010)
+
+ 19 Apr 2010; Dirkjan Ochtman <djc@gentoo.org> +couchdb-0.10.2.ebuild:
+ Version bump to 0.10.2.
*couchdb-0.11.0 (29 Mar 2010)
diff --git a/dev-db/couchdb/couchdb-0.10.2.ebuild b/dev-db/couchdb/couchdb-0.10.2.ebuild
new file mode 100644
index 000000000000..6d4c21069bf9
--- /dev/null
+++ b/dev-db/couchdb/couchdb-0.10.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/couchdb-0.10.2.ebuild,v 1.1 2010/04/19 16:10:26 djc Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database."
+HOMEPAGE="http://couchdb.apache.org/"
+SRC_URI="mirror://apache/couchdb/${PV}/apache-${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="test"
+
+RDEPEND="dev-libs/icu
+ dev-lang/erlang[ssl]
+ >=dev-libs/openssl-0.9.8j
+ >=net-misc/curl-7.18.2
+ dev-lang/spidermonkey"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/apache-${P}"
+
+pkg_setup() {
+ enewgroup couchdb
+ enewuser couchdb -1 /bin/bash /var/lib/couchdb couchdb
+}
+
+src_configure() {
+ econf \
+ --with-erlang=/usr/lib/erlang/usr/include \
+ --localstatedir=/var \
+ --with-js-lib=/usr/lib
+ # bug 296609, upstream bug #COUCHDB-621
+ sed -e "s#localdocdir = /usr/share/doc/couchdb#localdocdir = /usr/share/doc/couchdb-0.10.1#" -i Makefile || die "sed failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+
+ insinto /var/run/couchdb
+
+ fowners couchdb:couchdb \
+ /var/run/couchdb \
+ /var/lib/couchdb \
+ /var/log/couchdb
+
+ newinitd "${FILESDIR}/couchdb.init-0.10" couchdb || die
+ newconfd "${FILESDIR}/couchdb.conf-0.10" couchdb || die
+
+ sed -i -e "s:LIBDIR:$(get_libdir):" "${D}/etc/conf.d/couchdb"
+}