summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2009-12-03 20:44:19 +0000
committerDirkjan Ochtman <djc@gentoo.org>2009-12-03 20:44:19 +0000
commit9b718fc93b017e6b7d7f5e7fe19d480fd2e401f0 (patch)
tree9cd960a83e49d9cbb2d8139d1b6db996eef84b17 /dev-db
parentsynced live ebuild with 3.1.1-r1 (diff)
downloadgentoo-2-9b718fc93b017e6b7d7f5e7fe19d480fd2e401f0.tar.gz
gentoo-2-9b718fc93b017e6b7d7f5e7fe19d480fd2e401f0.tar.bz2
gentoo-2-9b718fc93b017e6b7d7f5e7fe19d480fd2e401f0.zip
Version bump dev-db/couchdb to 0.10.1 (yay 0-day).
(Portage version: 2.1.6.13/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.1.ebuild53
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-db/couchdb/ChangeLog b/dev-db/couchdb/ChangeLog
index 6e84774d573d..a556ba628f2a 100644
--- a/dev-db/couchdb/ChangeLog
+++ b/dev-db/couchdb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/couchdb
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/ChangeLog,v 1.13 2009/12/02 10:48:08 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/ChangeLog,v 1.14 2009/12/03 20:44:19 djc Exp $
+
+*couchdb-0.10.1 (03 Dec 2009)
+
+ 03 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> +couchdb-0.10.1.ebuild:
+ Version bump to 0.10.1.
02 Dec 2009; Markus Meier <maekke@gentoo.org> couchdb-0.10.0.ebuild:
amd64/x86 stable, bug #295217
diff --git a/dev-db/couchdb/couchdb-0.10.1.ebuild b/dev-db/couchdb/couchdb-0.10.1.ebuild
new file mode 100644
index 000000000000..374bed215bc7
--- /dev/null
+++ b/dev-db/couchdb/couchdb-0.10.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/couchdb-0.10.1.ebuild,v 1.1 2009/12/03 20:44:19 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=""
+
+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
+}
+
+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"
+}