diff options
| author | Sebastian Kemper | 2018-01-21 16:54:58 +0000 |
|---|---|---|
| committer | Sebastian Kemper | 2018-01-21 16:55:01 +0000 |
| commit | 1e4463088fb266a9a6e5aa1f012df69151267dae (patch) | |
| tree | 544c507b67792dfc224f9f17a9189d1501f7abca | |
| parent | f11ea999ad6c74accb790f14b63b18db1eeffccb (diff) | |
| download | telephony-1e4463088fb266a9a6e5aa1f012df69151267dae.tar.gz | |
sipgrep: import from openwrt/packages
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
| -rw-r--r-- | net/sipgrep/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/net/sipgrep/Makefile b/net/sipgrep/Makefile new file mode 100644 index 0000000..4329b82 --- /dev/null +++ b/net/sipgrep/Makefile @@ -0,0 +1,48 @@ +# +# Copyright (C) 2016 Daniel Engberg <daniel.engberg.lists@pyret.net> +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=sipgrep +PKG_VERSION:=20160914-devel +PKG_RELEASE:=1 +PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net> +PKG_LICENSE:=GPL-3.0 +PKG_LICENSE_FILES:=COPYING + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/sipcapture/sipgrep +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_VERSION:=df8a95b066569be92aa38cad01086ea595b36863 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_MIRROR_HASH:=a9131ae443bdce760e3dadd83dcf115d51a894381fc18461cbe62522618418fa + +PKG_FIXUP:=autoreconf + +include $(INCLUDE_DIR)/package.mk + +define Package/sipgrep + SECTION:=net + CATEGORY:=Network + DEPENDS:=+libpcap +libpcre +libncursesw + TITLE:=Display and Troubleshoot SIP signaling in CLI + URL:=https://github.com/sipcapture/sipgrep +endef + +define Package/sipgrep/description + SipGrep is a utility for displaying and troubleshooting SIP signaling. +endef + +CONFIGURE_ARGS += \ + --enable-ncurses + +define Package/sipgrep/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sipgrep $(1)/usr/sbin/ +endef + +$(eval $(call BuildPackage,sipgrep)) |