mirror of
http://git.openwrt.org/packages.git
synced 2025-01-09 04:19:54 +08:00
c0b68b618d
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@40155 3c298f89-4303-0410-b956-a3cf2f4a3e73
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
#
|
|
# Copyright (C) 2006-2014 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:=netpipe
|
|
PKG_VERSION:=3.7.1
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_SOURCE:=NetPIPE-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=http://www.scl.ameslab.gov/netpipe/code
|
|
PKG_MD5SUM:=cc458a9154f6b8c6da9fae16627beec4
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/NetPIPE-$(PKG_VERSION)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/netpipe
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=A Network Protocol Independent Performance Evaluator
|
|
URL:=http://www.scl.ameslab.gov/netpipe/
|
|
endef
|
|
|
|
define Package/netpipe/description
|
|
NetPIPE is a protocol independent performance tool that visually
|
|
represents the network performance under a variety of conditions. It
|
|
performs simple ping-pong tests, bouncing messages of increasing size
|
|
between two processes, whether across a network or within an SMP
|
|
system. Message sizes are chosen at regular intervals, and with slight
|
|
perturbations, to provide a complete test of the communication system.
|
|
Each data point involves many ping-pong tests to provide an accurate
|
|
timing. Latencies are calculated by dividing the round trip time in
|
|
half for small messages ( < 64 Bytes ).
|
|
endef
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
MAKE_FLAGS += \
|
|
$(TARGET_CONFIGURE_OPTS)
|
|
|
|
define Package/netpipe/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/NPtcp $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,netpipe))
|