1
0

Makefile 1.2 KB

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