summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-01-27 10:49:58 -0800
committerZac Medico <zmedico@gentoo.org>2017-01-27 10:54:03 -0800
commit1af3bab44aabaf36cd0e4892a8413cb208f82a05 (patch)
treedee384c6a31eb5f167be469e6538bbca8278d631 /net-misc/nicstat/nicstat-1.95.ebuild
parentnet-im/qtox: remove old v1.5.0 (diff)
downloadgentoo-1af3bab44aabaf36cd0e4892a8413cb208f82a05.tar.gz
gentoo-1af3bab44aabaf36cd0e4892a8413cb208f82a05.tar.bz2
gentoo-1af3bab44aabaf36cd0e4892a8413cb208f82a05.zip
net-misc/nicstat: new package
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-misc/nicstat/nicstat-1.95.ebuild')
-rw-r--r--net-misc/nicstat/nicstat-1.95.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-misc/nicstat/nicstat-1.95.ebuild b/net-misc/nicstat/nicstat-1.95.ebuild
new file mode 100644
index 000000000000..455661facc90
--- /dev/null
+++ b/net-misc/nicstat/nicstat-1.95.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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*
+}