nethogs: move to usr/bin.
This commit is contained in:
parent
e000534b12
commit
3d946b749b
|
@ -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 <xtraeme@voidlinux.eu>"
|
||||
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue