nethogs: cross build support.
This commit is contained in:
parent
497ca0384e
commit
827d37991b
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nethogs'
|
||||
pkgname=nethogs
|
||||
version=0.8.0
|
||||
revision=1
|
||||
revision=2
|
||||
makedepends="libpcap-devel ncurses-devel"
|
||||
short_desc="Small net top tool grouping bandwidth by process"
|
||||
maintainer="tripledes <tripledes@gmail.com>"
|
||||
|
@ -11,9 +11,12 @@ distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
|||
checksum=b09cb3c2690a522f8b1314221095d5abb1958d50b56de6d36b11a8e6f28961d0
|
||||
wrksrc=$pkgname
|
||||
|
||||
do_install() {
|
||||
do_build() {
|
||||
sed -i 's|DESTDIR := /usr/local|#DESTDIR := /usr/local|' Makefile
|
||||
make
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall nethogs 755 usr/sbin
|
||||
vinstall nethogs.8 644 usr/share/man/man8
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue