iptraf-ng: cross build support.

This commit is contained in:
Juan RP 2013-05-14 12:48:35 +02:00
parent f4e6906101
commit a0caa1990b

View file

@ -1,7 +1,7 @@
# Template file for 'iptraf-ng' # Template file for 'iptraf-ng'
pkgname=iptraf-ng pkgname=iptraf-ng
version=1.1.1 version=1.1.1
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
makedepends="ncurses-devel" makedepends="ncurses-devel"
short_desc="IP traffic monitor (iptraf-3.0.0 fork)" 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 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." 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() { iptraf-ng_package() {
make_dirs="/var/lock/iptraf-ng 0750 root root" make_dirs="/var/lock/iptraf-ng 0750 root root"
pkg_install() { pkg_install() {
vmove usr vmove all
} }
} }