diff options
Diffstat (limited to 'dev-db/hyperdex/hyperdex-1.0_rc2.ebuild')
-rw-r--r-- | dev-db/hyperdex/hyperdex-1.0_rc2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-db/hyperdex/hyperdex-1.0_rc2.ebuild b/dev-db/hyperdex/hyperdex-1.0_rc2.ebuild new file mode 100644 index 000000000000..c4ab459eeb6f --- /dev/null +++ b/dev-db/hyperdex/hyperdex-1.0_rc2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-1.0_rc2.ebuild,v 1.1 2013/02/10 08:05:41 patrick Exp $ +EAPI=4 + +PYTHON_DEPEND="2:2.6" +inherit eutils python + +DESCRIPTION="A searchable distributed Key-Value Store" + +MY_P="${P/_/.}" +S="${WORKDIR}/${MY_P}" + +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="+python" +# need to add coverage and java useflags too + +DEPEND="dev-cpp/glog + dev-libs/cityhash + dev-libs/libpo6 + dev-libs/libe + dev-libs/busybee + dev-libs/popt + dev-libs/replicant" +RDEPEND="${DEPEND}" + +pkg_setup() { + python_set_active_version 2 +} + +src_configure() { + econf \ + $(use_enable python python-bindings) +} + +src_install() { + emake DESTDIR="${D}" install || die "Failed to install" + newinitd "${FILESDIR}/hyperdex.initd" hyperdex || die "Failed to install init script" + newconfd "${FILESDIR}/hyperdex.confd" hyperdex || die "Failed to install config file" +} |