summaryrefslogtreecommitdiff
path: root/package/sngrep
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-05-26 16:35:26 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-05-26 16:35:26 +0200
commiteea6b0752e96b34768fde5510f83dadfda655446 (patch)
tree47d334ab7767b348901e335681efec391b2fb4de /package/sngrep
parent98f87b519727f68443349082301d39845e72bd77 (diff)
sngrep: add new package
Diffstat (limited to 'package/sngrep')
-rw-r--r--package/sngrep/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/sngrep/Makefile b/package/sngrep/Makefile
new file mode 100644
index 000000000..f87eb7292
--- /dev/null
+++ b/package/sngrep/Makefile
@@ -0,0 +1,32 @@
+# 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:= sngrep
+PKG_VERSION:= 1.4.3
+PKG_RELEASE:= 1
+PKG_HASH:= 7385ac202de6d6a1feffb2fd514600563133d9dfa7fb47be052de839abcc1d52
+PKG_DESCR:= displaying sip calls message flows from terminal
+PKG_SECTION:= net/debug
+PKG_BUILDDEP:= libpcap ncurses
+PKG_DEPENDS:= libpcap libncurses
+PKG_URL:= https://github.com/irontec/sngrep
+PKG_SITES:= https://github.com/irontec/sngrep/archive/
+
+DISTFILES:= v$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,SNGREP,sngrep,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+TARGET_LDFLAGS+= -ltinfo
+
+AUTOTOOL_STYLE:= bootstrap
+
+sngrep-install:
+ $(INSTALL_DIR) $(IDIR_SNGREP)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/sngrep \
+ $(IDIR_SNGREP)/usr/bin
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk