From 3d946b749b23e5e9871043d5abd37b58cadbcb34 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 2 Jun 2015 17:43:01 +0200 Subject: [PATCH] nethogs: move to usr/bin. --- srcpkgs/nethogs/template | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srcpkgs/nethogs/template b/srcpkgs/nethogs/template index 38974155f70..f2c104e7308 100644 --- a/srcpkgs/nethogs/template +++ b/srcpkgs/nethogs/template @@ -1,7 +1,7 @@ # Template file for 'nethogs' pkgname=nethogs version=0.8.0 -revision=3 +revision=4 makedepends="libpcap-devel ncurses-devel" short_desc="Small net top tool grouping bandwidth by process" maintainer="Juan RP " @@ -13,10 +13,9 @@ wrksrc=$pkgname do_build() { sed -i 's|DESTDIR := /usr/local|#DESTDIR := /usr/local|' Makefile - make ${makejobs} + make CC=$CC CXX=$CXX CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${makejobs} } - do_install() { - vinstall nethogs 755 usr/sbin - vinstall nethogs.8 644 usr/share/man/man8 + vbin nethogs + vman nethogs.8 }