blob: 1936dbeeb9d54c53776a8369ffb588a2c0b7fff8 (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit toolchain-funcs
DESCRIPTION="Network traffic statics utility for Solaris and Linux"
HOMEPAGE="https://sourceforge.net/projects/nicstat/ https://github.com/scotte/nicstat/"
EGIT_COMMIT="a716ee81cbf1e177267e20a880b5a0d9fa5b689e"
SRC_URI="https://github.com/scotte/nicstat/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
S=${WORKDIR}/${PN}-${EGIT_COMMIT}
src_compile() {
$(tc-getCC) ${CFLAGS} ${PN}.c -o ${PN} ${LDFLAGS} || die
}
src_install() {
dobin {e,}${PN}
doman ${PN}.1
dodoc BUGS.md ChangeLog.txt README*
}
|