Created
September 18, 2011 19:51
-
-
Save stsydow/1225478 to your computer and use it in GitHub Desktop.
geocouch 1.1 ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2011 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Header: http://svn.ignition-project.com/hamsterrific-overlay/trunk/dev-db/geocouch/geocouch-1.1.0.ebuild | |
EAPI="2" | |
inherit eutils git-2 | |
DESCRIPTION="GeoCouch is a plugin for CouchDB that provides spatial support" | |
HOMEPAGE="https://github.com/couchbase/geocouch" | |
EGIT_BRANCH="couchdb1.1.x" | |
EGIT_REPO_URI="git://github.com/couchbase/geocouch.git" | |
LICENSE="Apache-2.0" | |
SLOT="0" | |
KEYWORDS="amd64 ppc x86" | |
IUSE="" | |
RDEPEND="~dev-db/couchdb-${PV}" | |
DEPEND="${RDEPEND}" | |
S="${WORKDIR}/geocouch" | |
src_unpack() { | |
unpack "${A}" || die "unpack failed" | |
git-2_src_unpack || die "git unpack failed" | |
} | |
src_compile() { | |
emake COUCH_SRC="${WORKDIR}/apache-couchdb-${PV}/src/couchdb" || die "emake failed" | |
} | |
src_install() { | |
insinto /usr/lib/couchdb/erlang/lib/couch-${PV}/ebin | |
insopts -m0644 -ocouchdb -gcouchdb | |
doins build/* | |
insinto /etc/couchdb/local.d | |
doins "etc/couchdb/local.d/geocouch.ini" | |
fowners root:couchdb /etc/couchdb/local.d/geocouch.ini | |
fperms 660 /etc/couchdb/local.d/geocouch.ini | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The ebuild is based ziggythehamster#s geocouch ebuild (see $Header tag).
I just had some hints for the update to 1.1.0