diff options
author | 2021-04-03 19:36:05 +0100 | |
---|---|---|
committer | 2021-04-03 19:59:06 +0100 | |
commit | 7e461c03fe44a6aab7752c455f75e1132d018c83 (patch) | |
tree | 462d4e88fe7bfa0abf1f762c23e6d229807f149d /net-analyzer/sinfo/sinfo-0.0.48-r1.ebuild | |
parent | net-analyzer/pinger: eutils->epatch (diff) | |
download | gentoo-7e461c03fe44a6aab7752c455f75e1132d018c83.tar.gz gentoo-7e461c03fe44a6aab7752c455f75e1132d018c83.tar.bz2 gentoo-7e461c03fe44a6aab7752c455f75e1132d018c83.zip |
net-analyzer/sinfo: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/sinfo/sinfo-0.0.48-r1.ebuild')
-rw-r--r-- | net-analyzer/sinfo/sinfo-0.0.48-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/net-analyzer/sinfo/sinfo-0.0.48-r1.ebuild b/net-analyzer/sinfo/sinfo-0.0.48-r1.ebuild new file mode 100644 index 000000000000..ebc65efd14bf --- /dev/null +++ b/net-analyzer/sinfo/sinfo-0.0.48-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="A monitoring tool for networked computers" +HOMEPAGE="http://www.ant.uni-bremen.de/whomes/rinas/sinfo/" +SRC_URI="http://www.ant.uni-bremen.de/whomes/rinas/sinfo/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="ipv6 static-libs" + +RDEPEND=" + !sys-cluster/slurm + dev-libs/boost + sys-libs/ncurses:= +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-0.0.47-tinfo.patch + "${FILESDIR}"/${P}-gcc6.patch +) + +src_prepare() { + default + + cp "${FILESDIR}"/${P}-acinclude.m4 acinclude.m4 || die + 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 +} |