[packages] ipv6calc: update to v0.82.1, fixes claring of "valid" flag on mips platforms
[openwrt/svn-archive/archive.git] / net / jtg / Makefile
1 #
2 # Copyright (C) 2006-2009 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:=jtg
11 PKG_VERSION:=1.95
12 PKG_RELEASE:=1
13 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://www.netlab.tkk.fi/~jmanner/jtg
15
16 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION)
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/jtg
21 TITLE:=Jugi's Traffic Generator
22 SECTION:=net
23 CATEGORY:=Network
24 MAINTAINER:=Roberto Riggio <roberto.riggio@create-net.org>
25 URL:=https://hoslab.cs.helsinki.fi/savane/projects/jtg/
26 endef
27
28 define Package/wing/Description
29 The JTG generator is a simple, yet powerful and, if required, accurate
30 traffic generator. jtg differs from other traffic generators in that one
31 instance of a jtg process only sends one stream (e.g. MGEN can send tens
32 of streams) and the characteristics of the stream are given only with
33 command line arguments. On the other hand, a receiving jtg process can
34 be set to loop and receive several streams but, again, only one at a
35 time. The received packets can be logged and the log files can be
36 analyzed with jtg_calc (see later in this file for instructions). jtg6
37 is the binary for IPv6 networks.
38 endef
39
40 define Build/Compile
41 $(MAKE) $(TARGET_CONFIGURE_OPTS) \
42 -C $(PKG_BUILD_DIR)
43 endef
44
45 define Package/jtg/install
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(CP) $(PKG_BUILD_DIR)/jtg $(1)/usr/bin/
48 endef
49
50 $(eval $(call BuildPackage,jtg))