tcp_wrappers: moved to github
[openwrt.org/packages.git] / net / tstat / Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
include $(TOPDIR)/rules.mk
 
PKG_NAME:=tstat
PKG_REV:=528
PKG_VERSION:=r$(PKG_REV)
PKG_RELEASE:=1
 
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://tstat.polito.it/svn/software/tstat/trunk
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_SOURCE_PROTO:=svn
 
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
 
include $(INCLUDE_DIR)/package.mk
 
PKG_BUILD_DEPENDS:=libpcap libpthread
 
define Package/tstat
  SECTION:=net
  CATEGORY:=Network
  TITLE:=TCP STatistic and Analysis Tool from POLITO
  URL:=http://tstat.tlc.polito.it
  DEPENDS:=+libpcap +libpthread +zlib
  MAINTAINER:=Tivadar Szemethy <tivadar.szemethy@netvisor.hu>
endef
 
define Package/tstat/description
 Tstat is a passive sniffer able to provide several insight on the traffic
 patterns at both the network and the transport levels.
endef
 
define Package/tstat/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/tstat/tstat $(1)/usr/bin/
endef
 
$(eval $(call BuildPackage,tstat))
 
comments