sipgrep: update to 2.2.0
[feed/telephony.git] / net / sipgrep / Makefile
1 #
2 # Copyright (C) 2016 - 2018 Daniel Engberg <daniel.engberg.lists@pyret.net>
3 # Copyright (C) 2018 OpenWrt.org
4 #
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
7 #
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=sipgrep
12 PKG_VERSION:=2.2.0
13 PKG_RELEASE:=1
14
15 PKG_SOURCE_PROTO:=git
16 PKG_SOURCE_VERSION:=$(PKG_VERSION)
17 PKG_SOURCE_URL:=https://github.com/sipcapture/sipgrep
18 PKG_MIRROR_HASH:=4fe322d672d5c78160ddf0f0bf599a14b2fc504437262ad08a4003fe66f3e4b5
19
20 PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
21 PKG_LICENSE:=GPL-3.0
22 PKG_LICENSE_FILES:=COPYING
23
24 PKG_FIXUP:=autoreconf
25 PKG_INSTALL:=1
26 PKG_BUILD_PARALLEL:=1
27
28 PKG_CONFIG_DEPENDS:=CONFIG_IPV6
29
30 include $(INCLUDE_DIR)/package.mk
31
32 define Package/sipgrep
33 SECTION:=utils
34 CATEGORY:=Utilities
35 SUBMENU:=Telephony
36 DEPENDS:=+libpcap +libpcre2
37 TITLE:=Command line tool to sniff, capture, display SIP messages
38 URL:=https://github.com/sipcapture/sipgrep
39 endef
40
41 define Package/sipgrep/description
42 Powerful pcap-aware command line tool to sniff, capture, display and
43 troubleshoot SIP signaling over IP networks, allowing the user to
44 specify extended regular expressions matching against SIP headers.
45 endef
46
47 CONFIGURE_ARGS+=$(if $(CONFIG_IPV6),en,dis)able-ipv6
48
49 define Package/sipgrep/install
50 $(INSTALL_DIR) $(1)/usr/bin
51 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sipgrep $(1)/usr/bin
52 endef
53
54 $(eval $(call BuildPackage,sipgrep))