blob: 6563c60e1f84ba788cbe49a46735ef7b8dc2a702 (
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
29
30
31
32
33
34
|
# $Id$
#-
# 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.3pl1
PKG_RELEASE:= 8
PKG_MD5SUM:= b74314d78af31cb13516fb9a372d2e86
MASTER_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,netperf,${PKG_VERSION}${PKG_RELEASE},${ARCH}))
BUILD_STYLE:= auto
MAKE_FLAGS+= TARGET_NETPERF_HOME="/etc/netperf.conf" \
TARGET_CC=${TARGET_CROSS}gcc \
TARGET_CFLAGS="${TCFLAGS}" \
TARGET_LIBS=""
MAKE_FILE:= makefile
do-install:
${INSTALL_DIR} ${IDIR_NETPERF}/etc/init.d
${INSTALL_DIR} ${IDIR_NETPERF}/usr/bin
${INSTALL_BIN} ./files/netserver.init \
${IDIR_NETPERF}/etc/init.d/netserver
${INSTALL_BIN} ${WRKBUILD}/netperf ${IDIR_NETPERF}/usr/bin/
${INSTALL_BIN} ${WRKBUILD}/netserver ${IDIR_NETPERF}/usr/bin/
include ${TOPDIR}/mk/pkg-bottom.mk
|