summaryrefslogtreecommitdiff
path: root/package/netperf/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 22:59:29 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 22:59:29 +0200
commitfb6cd4f4dff71a803ba9db7751ade84fa6eac3a8 (patch)
tree379626b7b419ac1643131a7b8ac07e9fb87b9f80 /package/netperf/Makefile
parent5157a34410fe9eff94d5de7100cbc3659d6c4fcb (diff)
parentba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (diff)
Merge branch 'master' of ssh://openadk.org/git/openadk
resolve conflicts Conflicts: mk/pkg-bottom.mk package/ctorrent/Makefile package/gcc/Makefile package/gmp/Makefile package/id3lib/Makefile package/libelf/Makefile package/libnl/patches/patch-include_netlink-local_h package/mpd/Makefile package/nmap/Makefile package/rrs/Makefile package/weechat/Makefile scripts/rstrip.sh target/Config.in
Diffstat (limited to 'package/netperf/Makefile')
-rw-r--r--package/netperf/Makefile30
1 files changed, 14 insertions, 16 deletions
diff --git a/package/netperf/Makefile b/package/netperf/Makefile
index 9a741ea64..4bf5c123c 100644
--- a/package/netperf/Makefile
+++ b/package/netperf/Makefile
@@ -6,29 +6,27 @@
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/ \
+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,netperf,${PKG_VERSION}${PKG_RELEASE}))
+$(eval $(call PKG_template,NETPERF,${PKG_NAME},${PKG_VERSION}${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIGURE_ENV+= ac_cv_func_setpgrp_void=no
+CONFIGURE_STYLE:= gnu
BUILD_STYLE:= auto
-MAKE_FLAGS+= TARGET_NETPERF_HOME="/etc/netperf.conf" \
- TARGET_CC=${TARGET_CROSS}gcc \
- TARGET_CFLAGS="${TCFLAGS}" \
- TARGET_LIBS=""
-MAKE_FILE:= makefile
+INSTALL_STYLE:= auto
-do-install:
- ${INSTALL_DIR} ${IDIR_NETPERF}/etc/init.d
+post-install:
${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/
+ ${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