summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/couchdb/ChangeLog7
-rw-r--r--dev-db/couchdb/couchdb-0.9.1.ebuild53
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-db/couchdb/ChangeLog b/dev-db/couchdb/ChangeLog
index 7f8cdd6a408d..5d30fd84e387 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.4 2009/07/10 15:56:53 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/ChangeLog,v 1.5 2009/08/02 13:47:57 caleb Exp $
+
+*couchdb-0.9.1 (02 Aug 2009)
+
+ 02 Aug 2009; Caleb Tennis <caleb@gentoo.org> +couchdb-0.9.1.ebuild:
+ Bump couchdb
10 Jul 2009; Caleb Tennis <caleb@gentoo.org> files/couchdb.conf-0.9,
couchdb-0.9.0.ebuild:
diff --git a/dev-db/couchdb/couchdb-0.9.1.ebuild b/dev-db/couchdb/couchdb-0.9.1.ebuild
new file mode 100644
index 000000000000..7292c155e07b
--- /dev/null
+++ b/dev-db/couchdb/couchdb-0.9.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.9.1.ebuild,v 1.1 2009/08/02 13:47:57 caleb Exp $
+
+inherit eutils distutils multilib
+
+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="~x86 ~amd64"
+IUSE=""
+RESTRICT="test mirror" #72375
+
+RDEPEND="dev-libs/icu
+ dev-lang/erlang
+ >=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_compile() {
+ ./bootstrap
+ econf --with-erlang=/usr/lib/erlang/usr/include --prefix=/usr \
+ --localstatedir=/var || die "configure failed"
+ emake || die "make 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.9" couchdb || die
+ newconfd "${FILESDIR}/couchdb.conf-0.9" couchdb || die
+
+ sed -i -e "s:LIBDIR:$(get_libdir):" "${D}/etc/conf.d/couchdb"
+}