shell-fm fixes:
[openwrt/svn-archive/archive.git] / net / netpipe / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=netpipe
12 PKG_VERSION:=3.7.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=NetPIPE-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://www.scl.ameslab.gov/netpipe/code
17 PKG_MD5SUM:=cc458a9154f6b8c6da9fae16627beec4
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/NetPIPE-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/netpipe
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=A Network Protocol Independent Performance Evaluator
27 URL:=http://www.scl.ameslab.gov/netpipe/
28 endef
29
30 define Package/netpipe/description
31 NetPIPE is a protocol independent performance tool that visually
32 represents the network performance under a variety of conditions. It
33 performs simple ping-pong tests, bouncing messages of increasing size
34 between two processes, whether across a network or within an SMP
35 system. Message sizes are chosen at regular intervals, and with slight
36 perturbations, to provide a complete test of the communication system.
37 Each data point involves many ping-pong tests to provide an accurate
38 timing. Latencies are calculated by dividing the round trip time in
39 half for small messages ( < 64 Bytes ).
40 endef
41
42 define Build/Configure
43 endef
44
45 define Package/netpipe/install
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(INSTALL_BIN) $(PKG_BUILD_DIR)/NPtcp $(1)/usr/bin/
48 endef
49
50 $(eval $(call BuildPackage,netpipe))