2 # Copyright (C) 2016 Daniel Engberg <daniel.engberg.lists@pyret.net>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
13 PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net>
15 PKG_LICENSE_FILES:=COPYING
18 PKG_SOURCE_URL=https://github.com/irontec/sngrep
19 PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
20 PKG_SOURCE_VERSION:=57baa4b16d0021cf0a70889c15aee708db378fed
21 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
22 PKG_MIRROR_MD5SUM:=5b2cb01d34fcc6d631f8f6efe01ec556fe1325aa300590bec5aa6a078486f9c3
26 include $(INCLUDE_DIR)/package.mk
31 DEPENDS:=+libpcap +libpthread +libpcre +libncursesw
32 TITLE:=Display SIP calls message flows
33 URL:=https://github.com/irontec/sngrep
36 define Package/sngrep/description
37 sngrep is a tool for displaying SIP calls message flows from terminal.
38 It supports live capture to display realtime SIP packets and can also be used as PCAP viewer.
45 define Package/sngrep/install
46 $(INSTALL_DIR) $(1)/usr/sbin
47 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sngrep $(1)/usr/sbin/
50 $(eval $(call BuildPackage,sngrep))