blob: ebc65efd14bf778f062227444df29c5edc4fcf65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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
}
|