summaryrefslogtreecommitdiff
path: root/package/ngrep/ngrep.mk
blob: c296e34c3d132be66fe1bd02b75a810b7f94b629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#############################################################
#
# ngrep
#
#############################################################

NGREP_VERSION = 1.45
NGREP_SOURCE = ngrep-$(NGREP_VERSION).tar.bz2
NGREP_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/ngrep/ngrep/$(NGREP_VERSION)
NGREP_INSTALL_STAGING = YES
NGREP_CONF_ENV = LDFLAGS="-lpcre"
NGREP_CONF_OPT =  \
	--with-pcap-includes=$(STAGING_DIR)/usr/include \
	--enable-pcre \
	--with-pcre=$(STAGING_DIR)/usr \
	--disable-dropprivs

NGREP_DEPENDENCIES = libpcap pcre

$(eval $(autotools-package))