Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (41 sloc) 1.348 kb
#
# Copyright (C) 2006-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
#PKG_NAME:=netperf
PKG_RELEASE:=3
#PKG_MD5SUM:=fe23629f061a161b9d52d39b16620318
#If we need to go back to tracking svn versions in the future
#This is what we would do
PKG_NAME:=netperf-latest
PKG_REV:=602
PKG_VERSION:=2.6.0r$(PKG_REV)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
#PKG_SOURCE_URL:=ftp://ftp.netperf.org/netperf/
# Checksum
# Or track the SVN version
PKG_SOURCE_URL:=http://www.netperf.org/svn/netperf2/trunk
PKG_SOURCE_PROTO:=svn
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/netperf-latest
SECTION:=net
CATEGORY:=Network
TITLE:=Network performance measurement tool
URL:=http://www.netperf.org/
endef
CONFIGURE_ARGS += --enable-demo --enable-omni
define Package/netperf-latest/install
$(INSTALL_DIR) $(1)/etc/xinetd.d
$(INSTALL_BIN) ./files/netserver $(1)/etc/xinetd.d/
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/net{perf,server} $(1)/usr/bin/
$(INSTALL_DIR) $(1)/lib/netperf
$(INSTALL_BIN) $(PKG_BUILD_DIR)/doc/examples/*_script $(1)/lib/netperf/
endef
$(eval $(call BuildPackage,netperf-latest))
Jump to Line
Something went wrong with that request. Please try again.