Created
February 16, 2013 11:14
-
-
Save stargieg/4966467 to your computer and use it in GitHub Desktop.
geocouch 1.2.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.2.1.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.2.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_compile() { | |
emake COUCH_SRC="/var/tmp/portage/dev-db/couchdb-${PV}/work/apache-couchdb-${PV}/src/couchdb/" || die "emake failed" | |
} | |
src_install() { | |
insinto /usr/lib/couchdb/erlang/lib/couch-${PV}/ebin | |
insopts -m0644 -ocouchdb -gcouchdb | |
doins ebin/* | |
insinto /etc/couchdb/default.d | |
doins "etc/couchdb/default.d/geocouch.ini" | |
fowners root:couchdb /etc/couchdb/default.d/geocouch.ini | |
fperms 660 /etc/couchdb/default.d/geocouch.ini | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment