diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-28 10:39:24 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-28 10:39:36 +0100 |
commit | fe7843dbc27eafa7e7f6179a4781aa350c0aa9b2 (patch) | |
tree | 08e6220c02d8389e70536acbaff53d5412213fcd /net-analyzer | |
parent | Remove unneeded networkmanager ebuild (diff) | |
download | benf-fe7843dbc27eafa7e7f6179a4781aa350c0aa9b2.tar.gz benf-fe7843dbc27eafa7e7f6179a4781aa350c0aa9b2.tar.bz2 benf-fe7843dbc27eafa7e7f6179a4781aa350c0aa9b2.zip |
Add ttg ebuild
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/ttg/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/ttg/ttg-2.1.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/net-analyzer/ttg/Manifest b/net-analyzer/ttg/Manifest new file mode 100644 index 0000000..a8717e9 --- /dev/null +++ b/net-analyzer/ttg/Manifest @@ -0,0 +1,2 @@ +DIST ttg.c 20932 SHA256 33649c8ff9b76fdfec07ee7ded92b5326cb432879586db7585ee2d588344997c SHA512 02688689fb074f2bce3cad067cb174393ce9b9e791a312f30453d305971901b225924a8e02d00871f3fac204fc5acce044ddc98f447f78a87b0db4fe83179c84 WHIRLPOOL 92badab0561bfdaa607efa809903c0f473f0f79219fb2be143a84c8a142b84a4e2ef60aff8cda497e0671c4b53746a1ef3ac56b6cb8f68001966fde53e2f7649 +EBUILD ttg-2.1.ebuild 530 SHA256 2b1a3576ddd9eceda97720c7227fb12bee7416404ce95632ca5c8768b2eb7add SHA512 b6fb25e2b4a45106878845276e74c773aa11718a9e3fc36f3f0ad82f5d72787284da77bc9b1464b994811eaeb0344d32c3e6d92f7e17e9b03a0c9692f9fdecee WHIRLPOOL b23e48848e134074a8ceda862c8bbd6db993c5a4b4d59ae6c838a4c322dd1c3a90169851adf7202816307b655624b8ce9677cd271830cbac8633fc00b7db6b4d diff --git a/net-analyzer/ttg/ttg-2.1.ebuild b/net-analyzer/ttg/ttg-2.1.ebuild new file mode 100644 index 0000000..0cd6ce2 --- /dev/null +++ b/net-analyzer/ttg/ttg-2.1.ebuild @@ -0,0 +1,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 +} |