summaryrefslogtreecommitdiff
blob: 5dd5798c2f8b3ccbb2f60d61ecfc77af60f3977a (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake

DESCRIPTION="Realtime network interface monitor based on FreeBSD's pppstatus"
HOMEPAGE="https://github.com/mattthias/slurm"
SRC_URI="https://github.com/mattthias/slurm/archive/upstream/${PN}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc x86"

RDEPEND="sys-libs/ncurses:="
DEPEND="${RDEPEND}"

S="${WORKDIR}/${PN}-upstream"

PATCHES=(
	"${FILESDIR}"/${PN}-0.3.3-overflow.patch
	"${FILESDIR}"/${P}-tinfo.patch
	"${FILESDIR}"/${P}-version.patch
	"${FILESDIR}"/${P}-fix-includes.patch
)

src_install() {
	cmake_src_install
	dodoc KEYS THEMES.txt
}