[patchteam] upgrade mosquitto MQTT tools from 0.13 to 0.14.4 - Signed-off-by: Karl...
[openwrt/svn-archive/archive.git] / net / ditg / Makefile
1 #
2 # Copyright (C) 2010-2011 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:=ditg
11 PKG_VERSION:=2.8.0-rc1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=D-ITG-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=http://www.grid.unina.it/software/ITG/codice
16 PKG_MD5SUM:=609736113de729df833ac691d1c44ead
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/D-ITG-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/ditg
23 TITLE:=D-ITG (Distributed Internet Traffic Generator)
24 SECTION:=net
25 CATEGORY:=Network
26 URL:=http://www.grid.unina.it/software/ITG/
27 MAINTAINER:=Giovanni Di Stasi <giovanni.distasi@unina.it>
28 DEPENDS:=+libpthread +uclibcxx
29 endef
30
31 define Package/ditg/description
32 D-ITG (Distributed Internet Traffic Generator) is a platform capable
33 to produce traffic at packet level accurately replicating appropriate
34 stochastic processes for both IDT (Inter Departure Time) and PS
35 (Packet Size) random variables (exponential, uniform, cauchy, normal,
36 pareto, ...). D-ITG supports both IPv4 and IPv6 traffic generation and
37 it is capable to generate traffic at network, transport, and
38 application layer. We believe that D-ITG shows interesting properties
39 when compared to other traffic generators.
40 endef
41
42 MAKE_PATH := src
43
44 TARGET_CXX = $(STAGING_DIR)/host/bin/g++-uc
45
46 MAKE_FLAGS += \
47 CXXOPT="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -DMULTIPORT -DARM"
48
49 define Package/ditg/install
50 $(INSTALL_DIR) $(1)/usr/bin
51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/ITG{Send,Recv,Log,Dec} $(1)/usr/bin/
52 endef
53
54 $(eval $(call BuildPackage,ditg))