2 # Copyright (C) 2010-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
11 PKG_VERSION:=2.8.0-rc1
14 PKG_SOURCE:=D-ITG-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=http://www.grid.unina.it/software/ITG/codice
16 PKG_MD5SUM:=609736113de729df833ac691d1c44ead
18 PKG_BUILD_DIR:=$(BUILD_DIR)/D-ITG-$(PKG_VERSION)
20 include $(INCLUDE_DIR)/package.mk
23 TITLE:=D-ITG (Distributed Internet Traffic Generator)
26 URL:=http://www.grid.unina.it/software/ITG/
27 MAINTAINER:=Giovanni Di Stasi <giovanni.distasi@unina.it>
28 DEPENDS:=+libpthread +uclibcxx
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.
44 TARGET_CXX = $(STAGING_DIR)/host/bin/g++-uc
47 CXXOPT="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -DMULTIPORT -DARM"
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/
54 $(eval $(call BuildPackage,ditg))