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
:=da791185cabeea5a6fcc7372157340b2d1369df7
21 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
22 PKG_MIRROR_MD5SUM
:=2cc640e065f33cae4a3a8e14bdc740e49269cd850eee2ffa9eb821427caaa371
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
))