/[gentoo-x86]/dev-db/hyperdex/hyperdex-0.4.0.ebuild
Gentoo

Contents of /dev-db/hyperdex/hyperdex-0.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Dec 11 03:53:05 2013 UTC (7 months, 1 week ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Bump, remove old

(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-0.4.0.ebuild,v 1.4 2012/08/20 13:33:23 patrick Exp $
4 EAPI=4
5
6 PYTHON_DEPEND="2:2.6"
7 inherit eutils python
8
9 DESCRIPTION="A searchable distributed Key-Value Store"
10
11 HOMEPAGE="http://hyperdex.org"
12 SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~amd64"
16
17 IUSE="trace-player +python"
18 # need to add coverage and java useflags too
19
20 DEPEND="dev-cpp/glog
21 dev-libs/cityhash
22 dev-libs/libpo6
23 dev-libs/libe
24 dev-libs/busybee
25 dev-libs/popt
26 trace-player? ( dev-libs/libbsd )"
27 RDEPEND="${DEPEND}"
28
29 pkg_setup() {
30 python_set_active_version 2
31 }
32
33 src_prepare() {
34 # file has moved
35 sed -i -e 's:vis.h:bsd/vis.h:' trace-player.cc || die "Failed to fix include file path"
36 }
37
38 src_configure() {
39 econf \
40 $(use_enable trace-player) \
41 $(use_enable python python-bindings)
42 }
43
44 src_install() {
45 emake DESTDIR="${D}" install || die "Failed to install"
46 newinitd "${FILESDIR}/hyperdex.initd" hyperdex || die "Failed to install init script"
47 newconfd "${FILESDIR}/hyperdex.confd" hyperdex || die "Failed to install config file"
48 }

  ViewVC Help
Powered by ViewVC 1.1.20