summaryrefslogtreecommitdiff
path: root/package/sngrep/Makefile
blob: f87eb729234e615a8a6a72d8695119590f800d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		sngrep
PKG_VERSION:=		1.4.3
PKG_RELEASE:=		1
PKG_HASH:=		7385ac202de6d6a1feffb2fd514600563133d9dfa7fb47be052de839abcc1d52
PKG_DESCR:=		displaying sip calls message flows from terminal 
PKG_SECTION:=		net/debug
PKG_BUILDDEP:=		libpcap ncurses
PKG_DEPENDS:=		libpcap libncurses
PKG_URL:=		https://github.com/irontec/sngrep
PKG_SITES:=		https://github.com/irontec/sngrep/archive/

DISTFILES:=             v$(PKG_VERSION).tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,SNGREP,sngrep,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))

TARGET_LDFLAGS+=	-ltinfo

AUTOTOOL_STYLE:=	bootstrap

sngrep-install:
	$(INSTALL_DIR) $(IDIR_SNGREP)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/sngrep \
		$(IDIR_SNGREP)/usr/bin

include $(ADK_TOPDIR)/mk/pkg-bottom.mk