iptraf-ng: cross build support.
This commit is contained in:
parent
f4e6906101
commit
a0caa1990b
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'iptraf-ng'
|
||||
pkgname=iptraf-ng
|
||||
version=1.1.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
makedepends="ncurses-devel"
|
||||
short_desc="IP traffic monitor (iptraf-3.0.0 fork)"
|
||||
|
@ -29,9 +29,14 @@ long_desc="
|
|||
utilization of the built-in raw socket interface of the Linux kernel, so it
|
||||
can be used on a wide variety of supported network cards."
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# XXX needs ncurses-config
|
||||
hostmakedepends="ncurses-devel>=5.9_7"
|
||||
fi
|
||||
|
||||
iptraf-ng_package() {
|
||||
make_dirs="/var/lock/iptraf-ng 0750 root root"
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue