nethogs: move to usr/bin.
This commit is contained in:
parent
e000534b12
commit
3d946b749b
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nethogs'
|
# Template file for 'nethogs'
|
||||||
pkgname=nethogs
|
pkgname=nethogs
|
||||||
version=0.8.0
|
version=0.8.0
|
||||||
revision=3
|
revision=4
|
||||||
makedepends="libpcap-devel ncurses-devel"
|
makedepends="libpcap-devel ncurses-devel"
|
||||||
short_desc="Small net top tool grouping bandwidth by process"
|
short_desc="Small net top tool grouping bandwidth by process"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -13,10 +13,9 @@ wrksrc=$pkgname
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -i 's|DESTDIR := /usr/local|#DESTDIR := /usr/local|' Makefile
|
sed -i 's|DESTDIR := /usr/local|#DESTDIR := /usr/local|' Makefile
|
||||||
make ${makejobs}
|
make CC=$CC CXX=$CXX CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vinstall nethogs 755 usr/sbin
|
vbin nethogs
|
||||||
vinstall nethogs.8 644 usr/share/man/man8
|
vman nethogs.8
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue