blob: 0cd6ce270381a701dc1219803074b351463d26c5 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit toolchain-funcs
DESCRIPTION="SNMP Text Traffic Grapher"
HOMEPAGE="http://www.tenox.tc/out#ttg"
SRC_URI="http://www.tenox.tc/out/ttg.c"
LICENSE="BSD"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE=""
DEPEND="net-analyzer/net-snmp"
RDEPEND="${DEPEND}"
S=${WORKDIR}
src_unpack()
{
cp ${DISTDIR}/${A} ${WORKDIR}
}
src_compile()
{
eval `tc-getCC` -o ttg ttg.c -lnetsnmp
}
src_install()
{
doexe ttg
}
|