libgpg-error: Fix compiling with uclibc
[openadk.git] / package / iperf / Makefile
blobbb535740e1dbaa8dae3ed49f3a19656dde7bb021
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= iperf
7 PKG_VERSION:= 2.0.9
8 PKG_RELEASE:= 1
9 PKG_HASH:= a5350777b191e910334d3a107b5e5219b72ffa393da4186da1e0a4552aeeded6
10 PKG_DESCR:= internet protocol bandwidth measuring tool
11 PKG_SECTION:= net/perf
12 PKG_NEEDS:= threads c++
13 PKG_URL:= http://iperf.fr
14 PKG_SITES:= https://iperf.fr/download/source/
16 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-source.tar.gz
18 include ${ADK_TOPDIR}/mk/package.mk
20 $(eval $(call PKG_template,IPERF,iperf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
22 CONFIGURE_ENV+= LIBS="-lc -lm -lpthread"
23 CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes
25 iperf-install:
26 ${INSTALL_DIR} ${IDIR_IPERF}/usr/bin
27 ${INSTALL_BIN} ${WRKINST}/usr/bin/iperf ${IDIR_IPERF}/usr/bin
29 include ${ADK_TOPDIR}/mk/pkg-bottom.mk