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
)/uclibc
++.mk
21 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=D-ITG
(Distributed Internet Traffic Generator
)
27 URL
:=http
://www.grid.unina.it
/software
/ITG
/
28 MAINTAINER
:=Giovanni Di Stasi
<giovanni.distasi@unina.it
>
29 DEPENDS
:=+libpthread
$(CXX_DEPENDS
)
32 define Package
/ditg
/description
33 D-ITG
(Distributed Internet Traffic Generator
) is a platform capable
34 to produce traffic at packet level accurately replicating appropriate
35 stochastic processes for both IDT
(Inter Departure Time
) and PS
36 (Packet Size
) random variables
(exponential
, uniform
, cauchy
, normal
,
37 pareto
, ...
). D-ITG supports both IPv4 and IPv6 traffic generation and
38 it is capable to generate traffic at network
, transport
, and
39 application layer. We believe that D-ITG shows interesting properties
40 when compared to other traffic generators.
46 CXXOPT
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -DMULTIPORT -DARM"
48 define Package
/ditg
/install
49 $(INSTALL_DIR
) $(1)/usr
/bin
50 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/bin
/ITG
{Send
,Recv
,Log
,Dec
} $(1)/usr
/bin
/
53 $(eval
$(call BuildPackage
,ditg
))