add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=netpipe
11 PKG_VERSION:=3.7.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=NetPIPE-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.scl.ameslab.gov/netpipe/code
16 PKG_MD5SUM:=cc458a9154f6b8c6da9fae16627beec4
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/NetPIPE-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/netpipe
23   SECTION:=net
24   CATEGORY:=Network
25   TITLE:=A Network Protocol Independent Performance Evaluator
26   URL:=http://www.scl.ameslab.gov/netpipe/
27 endef
28
29 define Package/netpipe/description
30         NetPIPE is a protocol independent performance tool that visually
31         represents the network performance under a variety of conditions. It
32         performs simple ping-pong tests, bouncing messages of increasing size
33         between two processes, whether across a network or within an SMP
34         system. Message sizes are chosen at regular intervals, and with slight
35         perturbations, to provide a complete test of the communication system.
36         Each data point involves many ping-pong tests to provide an accurate
37         timing. Latencies are calculated by dividing the round trip time in
38         half for small messages ( < 64 Bytes ).
39 endef
40
41 define Build/Configure
42 endef
43
44 define Package/netpipe/install
45         $(INSTALL_DIR) $(1)/usr/bin
46         $(INSTALL_BIN) $(PKG_BUILD_DIR)/NPtcp $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,netpipe))