2 # Copyright (C) 2009-2018 OpenWrt.org
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_SOURCE_URL
:=https
://svn.code.sf.net
/p
/pcapsipdump
/code
/trunk
14 PKG_SOURCE_VERSION
:=157
15 PKG_SOURCE_DATE
=2020-03-03
19 PKG_LICENSE_FILES
:=LICENSE
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/pcapsipdump
27 DEPENDS
:=+libstdcpp
+USE_GLIBC
:libbsd
+libpcap
28 TITLE
:=SIP Sessions Dumping Tool
29 URL
:=http
://sourceforge.net
/projects
/pcapsipdump
/
32 define Package
/pcapsipdump
/description
33 pcapsipdump is a tool for dumping SIP sessions
(plus RTP traffic
, if
34 available
) to disk in a fashion similar to
"tcpdump -w" (format is
35 exactly the same
), but one file per SIP session
(even if there are
36 thousands of concurrent SIP sessions
).
39 MAKE_FLAGS
+=LIBS
="-lpcap"
41 define Package
/pcapsipdump
/install
42 $(INSTALL_DIR
) $(1)/usr
/bin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/pcapsipdump
$(1)/usr
/bin
/
46 $(eval
$(call BuildPackage
,pcapsipdump
))