From 7164e9d90be1802e105c7397647d6fa9b0ac6369 Mon Sep 17 00:00:00 2001 From: Sergio Date: Sun, 20 Jan 2013 00:00:10 +0100 Subject: [PATCH] nethogs: Initial import --- srcpkgs/nethogs/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/nethogs/template diff --git a/srcpkgs/nethogs/template b/srcpkgs/nethogs/template new file mode 100644 index 0000000000..178512fb81 --- /dev/null +++ b/srcpkgs/nethogs/template @@ -0,0 +1,20 @@ +# Template file for 'nethogs' +pkgname=nethogs +version=0.8.0 +revision=1 +makedepends="libpcap-devel ncurses-devel" +short_desc="Small net top tool grouping bandwidth by process" +maintainer="tripledes " +license="GPL-1" +homepage="http://nethogs.sourceforge.net" +distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" +checksum=b09cb3c2690a522f8b1314221095d5abb1958d50b56de6d36b11a8e6f28961d0 +wrksrc=$pkgname + +do_install() +{ + sed -i 's|DESTDIR := /usr/local|#DESTDIR := /usr/local|' Makefile + make + vinstall nethogs 755 usr/sbin + vinstall nethogs.8 644 usr/share/man/man8 +}