summaryrefslogtreecommitdiff
path: root/package/tcptrace/Makefile
blob: ac5fb5dc4904a1bfb98c30f741df6fa602a446ee (plain)
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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		tcptrace
PKG_VERSION:=		6.6.7
PKG_RELEASE:=		1
PKG_HASH:=		63380a4051933ca08979476a9dfc6f959308bc9f60d45255202e388eb56910bd
PKG_DESCR:=		A Tool for analyzing network packet dumps
PKG_SECTION:=		net/debug
PKG_DEPENDS:=		libpcap
PKG_URL:=		http://www.tcptrace.org
PKG_SITES:=		http://www.tcptrace.org/download/
DISTFILES:=             $(PKG_NAME)-$(PKG_VERSION).tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,TCPTRACE,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

FAKE_FLAGS:=		BINDIR="${WRKINST}/usr/bin" MANDIR="${WRKINST}/usr/man" INSTALL="install -D"

post-install:
	$(INSTALL_DIR) $(IDIR_TCPTRACE)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/tcptrace \
		$(IDIR_TCPTRACE)/usr/bin

include ${ADK_TOPDIR}/mk/pkg-bottom.mk