arc-toolchain: update to rc1
[openadk.git] / package / netperf / Makefile
blob713cd4b9a9a237df21876b70ce75d6c3dff9287d
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:= netperf
7 PKG_VERSION:= 2.7.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 9170c4758463bc5342dcdbfc88a40b586fcc9d7ccca048ecbb3b2d49387a28b9
10 PKG_DESCR:= network performance measurement tools
11 PKG_SECTION:= net/perf
12 PKG_URL:= http://www.netperf.org/netperf/
13 PKG_SITES:= ftp://ftp.netperf.org/netperf/
15 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
17 include ${ADK_TOPDIR}/mk/package.mk
19 $(eval $(call PKG_template,NETPERF,netperf,${PKG_VERSION}${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 # uClibc setpgrp does not take arguments
22 CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
24 netperf-install:
25 ${INSTALL_DIR} ${IDIR_NETPERF}/usr/bin
26 ${INSTALL_BIN} ${WRKINST}/usr/bin/netperf ${IDIR_NETPERF}/usr/bin/
27 ${INSTALL_BIN} ${WRKINST}/usr/bin/netserver ${IDIR_NETPERF}/usr/bin/
29 include ${ADK_TOPDIR}/mk/pkg-bottom.mk