summaryrefslogtreecommitdiff
path: root/package/netperf/Makefile
blob: c5966bb45662b540b2da3238e4030e662fbe57d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		netperf
PKG_VERSION:=		2.4.3
PKG_RELEASE:=		1
PKG_MD5SUM:=		391a0d98954c72a6ad7f08b8a115e1ce
PKG_DESCR:=		Program and service to do network performance measurement.
PKG_SECTION:=		net
PKG_URL:=		http://www.netperf.org/netperf/		
PKG_SITES:=		ftp://ftp.netperf.org/netperf/archive/ \
			ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,NETPERF,${PKG_NAME},${PKG_VERSION}${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

# uClibc setpgrp does not take arguments
CONFIGURE_ENV+=		ac_cv_func_setpgrp_void=yes

post-install:
	${INSTALL_DIR} ${IDIR_NETPERF}/usr/bin
	${INSTALL_BIN} ${WRKINST}/usr/bin/netperf ${IDIR_NETPERF}/usr/bin/
	${INSTALL_BIN} ${WRKINST}/usr/bin/netserver ${IDIR_NETPERF}/usr/bin/

include ${TOPDIR}/mk/pkg-bottom.mk