Merge branch 'master' of git+ssh://openadk.org/git/openadk
[openadk.git] / package / tcptrace / Makefile
blobb780a8f84157e3f291a4eed2ddb6a4bd559937b5
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= tcptrace
7 PKG_VERSION:= 6.6.7
8 PKG_RELEASE:= 1
9 PKG_HASH:= 63380a4051933ca08979476a9dfc6f959308bc9f60d45255202e388eb56910bd
10 PKG_DESCR:= tool for analyzing network packet dumps
11 PKG_SECTION:= net/debug
12 PKG_DEPENDS:= libpcap
13 PKG_BUILDDEP:= libpcap
14 PKG_URL:= http://www.tcptrace.org
15 PKG_SITES:= http://www.tcptrace.org/download/
17 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,TCPTRACE,tcptrace,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
23 FAKE_FLAGS:= BINDIR="$(WRKINST)/usr/bin" MANDIR="$(WRKINST)/usr/man" INSTALL="install -D"
24 TARGET_CPPFLAGS+= -D_BSD_SOURCE
26 tcptrace-install:
27 $(INSTALL_DIR) $(IDIR_TCPTRACE)/usr/bin
28 $(INSTALL_BIN) $(WRKINST)/usr/bin/tcptrace \
29 $(IDIR_TCPTRACE)/usr/bin
31 include $(ADK_TOPDIR)/mk/pkg-bottom.mk