summaryrefslogtreecommitdiff
path: root/package/tcptrace/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:11:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:39 +0100
commit3b7e950a2a226d1344e78da8fb10e3cdb92f37a0 (patch)
tree2bda2f5203b3833e77529fe96884d56e69c8fca3 /package/tcptrace/Makefile
parent23cfddf360edbac12473a5c6f9e2d85b12992bb3 (diff)
cleanup phil's submissions
- use () instead of {} in make variables for now - use PKG_HASH instead of PKG_MD5SUM - update to latest upstream versions - use a newline between PKG_* variables and DISTFILES - use <pkgname>-install instead of post-install - use lowercase description texts only - fix some missing PKG_BUILDDEP - elfutils needs argp, which is not available in uClibc-ng, yet - PKG_HASH is not required for git sources
Diffstat (limited to 'package/tcptrace/Makefile')
-rw-r--r--package/tcptrace/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/package/tcptrace/Makefile b/package/tcptrace/Makefile
index ac5fb5dc4..b780a8f84 100644
--- a/package/tcptrace/Makefile
+++ b/package/tcptrace/Makefile
@@ -7,22 +7,25 @@ PKG_NAME:= tcptrace
PKG_VERSION:= 6.6.7
PKG_RELEASE:= 1
PKG_HASH:= 63380a4051933ca08979476a9dfc6f959308bc9f60d45255202e388eb56910bd
-PKG_DESCR:= A Tool for analyzing network packet dumps
+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,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(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"
+FAKE_FLAGS:= BINDIR="$(WRKINST)/usr/bin" MANDIR="$(WRKINST)/usr/man" INSTALL="install -D"
+TARGET_CPPFLAGS+= -D_BSD_SOURCE
-post-install:
+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
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk