This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/packages/iperf/default.bash
2013-07-13 17:19:22 +01:00

40 lines
585 B
Bash

version=\
(
'2.0.4'
)
url=\
(
"http://downloads.sourceforge.net/iperf/iperf-$version.tar.gz"
)
md5=\
(
'8c5bc14cc2ea55f18f22afe3c23e3dcb'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
configure()
{
export ac_cv_func_malloc_0_nonnull='yes'
"../iperf-$version/configure" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--prefix="$cfg_dir_rootfs/usr"
}
build()
{
$cmd_make
}
target_install()
{
$cmd_target_strip src/iperf -o $cfg_dir_rootfs/usr/bin/iperf
}