/[gentoo-x86]/dev-db/couchdb/couchdb-0.9.1.ebuild
Gentoo

Diff of /dev-db/couchdb/couchdb-0.9.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.3
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/Attic/couchdb-0.9.1.ebuild,v 1.1 2009/08/02 13:47:57 caleb Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/Attic/couchdb-0.9.1.ebuild,v 1.3 2009/10/09 22:35:19 patrick Exp $
4
5EAPI="2"
4 6
5inherit eutils distutils multilib 7inherit eutils distutils multilib
6 8
7DESCRIPTION="Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database." 9DESCRIPTION="Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database."
8HOMEPAGE="http://couchdb.apache.org/" 10HOMEPAGE="http://couchdb.apache.org/"
9SRC_URI="mirror://apache/couchdb/${PV}/apache-${P}.tar.gz" 11SRC_URI="mirror://apache/couchdb/${PV}/apache-${P}.tar.gz"
10 12
11LICENSE="Apache-2.0" 13LICENSE="Apache-2.0"
12SLOT="0" 14SLOT="0"
13KEYWORDS="~x86 ~amd64" 15KEYWORDS="amd64 x86"
14IUSE="" 16IUSE=""
15RESTRICT="test mirror" #72375 17RESTRICT="test mirror" #72375
16 18
17RDEPEND="dev-libs/icu 19RDEPEND="dev-libs/icu
18 dev-lang/erlang 20 dev-lang/erlang[ssl]
19 >=dev-libs/openssl-0.9.8j 21 >=dev-libs/openssl-0.9.8j
20 >=net-misc/curl-7.18.2 22 >=net-misc/curl-7.18.2
21 dev-lang/spidermonkey" 23 dev-lang/spidermonkey"
22 24
23DEPEND="${RDEPEND}" 25DEPEND="${RDEPEND}"
27pkg_setup() { 29pkg_setup() {
28 enewgroup couchdb 30 enewgroup couchdb
29 enewuser couchdb -1 /bin/bash /var/lib/couchdb couchdb 31 enewuser couchdb -1 /bin/bash /var/lib/couchdb couchdb
30} 32}
31 33
32src_compile() { 34src_configure() {
33 ./bootstrap 35 ./bootstrap
34 econf --with-erlang=/usr/lib/erlang/usr/include --prefix=/usr \ 36 econf --with-erlang=/usr/lib/erlang/usr/include --prefix=/usr \
35 --localstatedir=/var || die "configure failed" 37 --localstatedir=/var || die "configure failed"
38}
39
40src_compile() {
36 emake || die "make failed" 41 emake || die "make failed"
37} 42}
38 43
39src_install() { 44src_install() {
40 emake DESTDIR="${D}" install || die "install failed" 45 emake DESTDIR="${D}" install || die "install failed"

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20