summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/kumofs/kumofs-0.3.0.ebuild')
-rw-r--r--net-misc/kumofs/kumofs-0.3.0.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-misc/kumofs/kumofs-0.3.0.ebuild b/net-misc/kumofs/kumofs-0.3.0.ebuild
new file mode 100644
index 0000000..1498bfa
--- /dev/null
+++ b/net-misc/kumofs/kumofs-0.3.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+DESCRIPTION="a scalable and highly available distributed key-value store"
+HOMEPAGE="http://github.com/etolabo/kumofs"
+SRC_URI="http://cloud.github.com/downloads/etolabo/kumofs/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-db/tokyocabinet-1.4.10
+ >=dev-libs/msgpack-0.3.1
+ dev-libs/openssl
+ >=dev-ruby/msgpack-0.3.1
+ >=dev-lang/ruby-1.8.6
+ sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ newinitd "${FILESDIR}/kumo-gateway.initd" kumo-gateway || die
+ newconfd "${FILESDIR}/kumo-gateway.confd" kumo-gateway || die
+ newinitd "${FILESDIR}/kumo-manager.initd" kumo-manager || die
+ newconfd "${FILESDIR}/kumo-manager.confd" kumo-manager || die
+ newinitd "${FILESDIR}/kumo-server.initd" kumo-server || die
+ newconfd "${FILESDIR}/kumo-server.confd" kumo-server || die
+
+ keepdir /var/lib/kumofs || die
+
+ doman doc/kumo-{gateway,manager,server}.1 || die
+ dodoc AUTHORS ChangeLog NEWS NOTICE README README.md || die
+}