Add maintainer to openldap Makefile
[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 SUBMENU:=Monitoring
23 SECTION:=net
24 CATEGORY:=Network
25 MAINTAINER:=Roberto Riggio <roberto.riggio@create-net.org>
26 URL:=https://hoslab.cs.helsinki.fi/savane/projects/jtg/
27 endef
28
29 define Package/wing/Description
30 The JTG generator is a simple, yet powerful and, if required, accurate
31 traffic generator. jtg differs from other traffic generators in that one
32 instance of a jtg process only sends one stream (e.g. MGEN can send tens
33 of streams) and the characteristics of the stream are given only with
34 command line arguments. On the other hand, a receiving jtg process can
35 be set to loop and receive several streams but, again, only one at a
36 time. The received packets can be logged and the log files can be
37 analyzed with jtg_calc (see later in this file for instructions). jtg6
38 is the binary for IPv6 networks.
39 endef
40
41 define Build/Compile
42 $(MAKE) $(TARGET_CONFIGURE_OPTS) \
43 -C $(PKG_BUILD_DIR)
44 endef
45
46 define Package/jtg/install
47 $(INSTALL_DIR) $(1)/usr/bin
48 $(CP) $(PKG_BUILD_DIR)/jtg $(1)/usr/bin/
49 endef
50
51 $(eval $(call BuildPackage,jtg))