diff options
Diffstat (limited to 'dev-db/couchdb/couchdb-1.0.2.ebuild')
-rw-r--r-- | dev-db/couchdb/couchdb-1.0.2.ebuild | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/dev-db/couchdb/couchdb-1.0.2.ebuild b/dev-db/couchdb/couchdb-1.0.2.ebuild deleted file mode 100644 index 475d5370dc6c..000000000000 --- a/dev-db/couchdb/couchdb-1.0.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/couchdb-1.0.2.ebuild,v 1.6 2011/02/10 23:44:56 hwoarang 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-4.3.1 - 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 -1 /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 - - for f in /etc/couchdb/*.ini ; do - fowners root:couchdb ${f#"${D}"} - fperms 660 ${f#"${D}"} - done - fperms 664 /etc/couchdb/default.ini - - 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" -} |