summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-cluster/netfs/Manifest2
-rw-r--r--sys-cluster/netfs/netfs-0.ebuild25
2 files changed, 21 insertions, 6 deletions
diff --git a/sys-cluster/netfs/Manifest b/sys-cluster/netfs/Manifest
index 1b5da60..4de9cae 100644
--- a/sys-cluster/netfs/Manifest
+++ b/sys-cluster/netfs/Manifest
@@ -1 +1 @@
-EBUILD netfs-0.ebuild 379 RMD160 03cb32d988cf002d482acb199812a2af66dcc0f9 SHA1 19c2a300e9f54a3ee96fa6b24cdb76da78a7a60f SHA256 fec789dc6602c43cc72594ed973ddd3027e6e09078bcc06cf025501e3ba28530
+EBUILD netfs-0.ebuild 720 RMD160 5bda73fd8eda7c54c24e488d673119e3f03aeb3c SHA1 9bc5f271fbaa431b6e0c0fd65b4be3735e969b93 SHA256 a0a41ee9b4d9cc5f722026b006d2146bbd8f01cf8f8b53e34eca559824a95afd
diff --git a/sys-cluster/netfs/netfs-0.ebuild b/sys-cluster/netfs/netfs-0.ebuild
index 7e0bb91..2f70885 100644
--- a/sys-cluster/netfs/netfs-0.ebuild
+++ b/sys-cluster/netfs/netfs-0.ebuild
@@ -1,6 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
+inherit subversion
EAPI=3
@@ -8,10 +6,10 @@ DESCRIPTION="Cluster capable network filesytem"
HOMEPAGE="http://netfs.randomdan.homeip.net/"
SRC_URI=""
-LICENSE=""
+LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
+IUSE="debug"
DEPEND="dev-libs/Ice
dev-cpp/libxmlpp
@@ -19,3 +17,20 @@ DEPEND="dev-libs/Ice
dev-util/boost-build"
RDEPEND="${DEPEND}"
+ESVN_REPO_URI="svn+ssh://svn.random.lan/var/svn/src/trunk"
+BJAM=`ls -1 /usr/bin/bjam* | tail -1`
+use !debug && var="variant=release"
+
+src_compile() {
+ cd ${S}/netfs || die
+ ${BJAM} ${var} -q || die
+}
+
+src_install() {
+ cd ${S}/netfs || die
+ ${BJAM} ${var} install -qj2 --bindir=${D}/usr/sbin --libdir=${D}/usr/lib || die
+
+ newinitd ${S}/netfs/etc/init netfsd || die
+ insinto /etc/netfs || die
+ doins ${S}/netfs/etc/daemon.xml || die
+}