treewide: refresh hashes after move to use ZSTD as default
[feed/telephony.git] / net / pcapsipdump / Makefile
1 #
2 # Copyright (C) 2009-2018 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=pcapsipdump
11
12 PKG_SOURCE_PROTO:=svn
13 PKG_SOURCE_URL:=https://svn.code.sf.net/p/pcapsipdump/code/trunk
14 PKG_MIRROR_HASH:=563050f47c7962de377cab17478a86d3ea6726a331a7c77be62cb3f5488e519a
15 PKG_SOURCE_VERSION:=157
16 PKG_SOURCE_DATE=2020-03-03
17 PKG_RELEASE:=1
18
19 PKG_LICENSE:=GPL-2.0+
20 PKG_LICENSE_FILES:=LICENSE
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/pcapsipdump
25 SECTION:=net
26 CATEGORY:=Network
27 SUBMENU:=Telephony
28 DEPENDS:=+libstdcpp +USE_GLIBC:libbsd +libpcap
29 TITLE:=SIP Sessions Dumping Tool
30 URL:=http://sourceforge.net/projects/pcapsipdump/
31 endef
32
33 define Package/pcapsipdump/description
34 pcapsipdump is a tool for dumping SIP sessions (plus RTP traffic, if
35 available) to disk in a fashion similar to "tcpdump -w" (format is
36 exactly the same), but one file per SIP session (even if there are
37 thousands of concurrent SIP sessions).
38 endef
39
40 MAKE_FLAGS+=LIBS="-lpcap"
41
42 define Package/pcapsipdump/install
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/pcapsipdump $(1)/usr/bin/
45 endef
46
47 $(eval $(call BuildPackage,pcapsipdump))