2 # Copyright (C) 2010 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
14 PKG_SOURCE:=D-ITG-${PKG_VERSION}-${PKG_RELEASE}.zip
15 PKG_SOURCE_URL:=http://www.grid.unina.it/software/ITG/codice/
16 PKG_MD5SUM:=6cf5f1a16283cff8297521ec4093df7f
18 PKG_BUILD_DIR:=$(BUILD_DIR)/D-ITG-${PKG_VERSION}-${PKG_RELEASE}
20 include $(INCLUDE_DIR)/package.mk
22 define Package/ditg/Default
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:= +libpcap +libstdcpp
31 define Package/ditg/Default/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.
43 $(call Package/ditg/Default)
46 # uncomment for arm targets
47 #EXTRA_FLAGS=" arm=on "
52 CXXOPT="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
53 -C $(PKG_BUILD_DIR)/src $(EXTRA_CFLAGS)
56 define Package/ditg/install
57 $(INSTALL_DIR) $(1)/usr/bin/
58 $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/{ITGSend,ITGRecv,ITGLog,ITGDec} \
62 $(eval $(call BuildPackage,ditg))