telephony/net/pcapsipdump/Makefile
Sebastian Kemper 3cdc38c909 pcapsipdump: update to svn revision r157
Upstream implemented or updated IPv6 support.

This commit also updates the package title and fixes some
spelling/grammar in the package's description.

PKG_MIRRIR_HASH removed from Makefile as per suggestion in [1] (svn
checkouts aren't reproducible).

[1] https://openwrt.org/docs/guide-developer/packages

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-05-01 11:57:33 +02:00

46 lines
1.1 KiB
Makefile

#
# Copyright (C) 2009-2018 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=pcapsipdump
PKG_SOURCE_PROTO:=svn
PKG_SOURCE_URL:=https://svn.code.sf.net/p/pcapsipdump/code/trunk
PKG_SOURCE_VERSION:=157
PKG_SOURCE_DATE=2020-03-03
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0+
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/pcapsipdump
SECTION:=net
CATEGORY:=Network
SUBMENU:=Telephony
DEPENDS:=+libstdcpp +USE_GLIBC:libbsd +libpcap
TITLE:=SIP Sessions Dumping Tool
URL:=http://sourceforge.net/projects/pcapsipdump/
endef
define Package/pcapsipdump/description
pcapsipdump is a tool for dumping SIP sessions (plus RTP traffic, if
available) to disk in a fashion similar to "tcpdump -w" (format is
exactly the same), but one file per SIP session (even if there are
thousands of concurrent SIP sessions).
endef
MAKE_FLAGS+=LIBS="-lpcap"
define Package/pcapsipdump/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/pcapsipdump $(1)/usr/bin/
endef
$(eval $(call BuildPackage,pcapsipdump))