Makefile (1203B)
1 # 2 # Copyright (C) 2016 Daniel Engberg <daniel.engberg.lists@pyret.net> 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:=sipgrep 11 PKG_VERSION:=20160914-devel 12 PKG_RELEASE:=1 13 PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net> 14 PKG_LICENSE:=GPL-3.0 15 PKG_LICENSE_FILES:=COPYING 16 17 PKG_SOURCE_PROTO:=git 18 PKG_SOURCE_URL=https://github.com/sipcapture/sipgrep 19 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 20 PKG_SOURCE_VERSION:=df8a95b066569be92aa38cad01086ea595b36863 21 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 22 23 PKG_FIXUP:=autoreconf 24 25 include $(INCLUDE_DIR)/package.mk 26 27 define Package/sipgrep 28 SECTION:=net 29 CATEGORY:=Network 30 DEPENDS:=+libpcap +libpcre +libncursesw 31 TITLE:=Display and Troubleshoot SIP signaling in CLI 32 URL:=https://github.com/sipcapture/sipgrep 33 endef 34 35 define Package/sipgrep/description 36 SipGrep is a utility for displaying and troubleshooting SIP signaling. 37 endef 38 39 CONFIGURE_ARGS += \ 40 --enable-ncurses 41 42 define Package/sipgrep/install 43 $(INSTALL_DIR) $(1)/usr/sbin 44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sipgrep $(1)/usr/sbin/ 45 endef 46 47 $(eval $(call BuildPackage,sipgrep))