summaryrefslogtreecommitdiff
path: root/package/tcptrace/Makefile
blob: b780a8f84157e3f291a4eed2ddb6a4bd559937b5 (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
29
30
31
# 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:=		tool for analyzing network packet dumps
PKG_SECTION:=		net/debug
PKG_DEPENDS:=		libpcap
PKG_BUILDDEP:=		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,tcptrace,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))

FAKE_FLAGS:=		BINDIR="$(WRKINST)/usr/bin" MANDIR="$(WRKINST)/usr/man" INSTALL="install -D"
TARGET_CPPFLAGS+=	-D_BSD_SOURCE

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

include $(ADK_TOPDIR)/mk/pkg-bottom.mk