diff options
Diffstat (limited to 'net-analyzer/sinfo/sinfo-0.0.48.ebuild')
-rw-r--r-- | net-analyzer/sinfo/sinfo-0.0.48.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net-analyzer/sinfo/sinfo-0.0.48.ebuild b/net-analyzer/sinfo/sinfo-0.0.48.ebuild new file mode 100644 index 000000000000..ef6d765d62a3 --- /dev/null +++ b/net-analyzer/sinfo/sinfo-0.0.48.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="A monitoring tool for networked computers" +HOMEPAGE="http://www.ant.uni-bremen.de/whomes/rinas/sinfo/" +SRC_URI="${HOMEPAGE}download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ipv6 static-libs" + +RDEPEND=" + !sys-cluster/slurm + dev-libs/boost + sys-libs/ncurses +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + cp "${FILESDIR}"/${P}-acinclude.m4 acinclude.m4 || die + epatch "${FILESDIR}"/${PN}-0.0.47-tinfo.patch + epatch "${FILESDIR}"/${P}-gcc6.patch + eautoreconf +} + +DOCS=( AUTHORS ChangeLog README ) + +src_configure() { + econf $(use_enable ipv6 IPv6) +} + +src_install() { + default + + newconfd "${FILESDIR}"/sinfod.confd sinfod + newinitd "${FILESDIR}"/sinfod.initd sinfod +} |