python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / ngrep / ngrep.mk
blob8daaf2d8ace2b0ef6a26aa9c049217804e3d7e4c
1 ################################################################################
3 # ngrep
5 ################################################################################
7 NGREP_VERSION = 1.45
8 NGREP_SOURCE = ngrep-$(NGREP_VERSION).tar.bz2
9 NGREP_SITE = http://downloads.sourceforge.net/project/ngrep/ngrep/$(NGREP_VERSION)
10 NGREP_LICENSE = BSD-4c-like
11 NGREP_LICENSE_FILES = LICENSE.txt
12 NGREP_INSTALL_STAGING = YES
14 NGREP_LIBS = -lpcap -lpcre
15 ifeq ($(BR2_STATIC_LIBS),y)
16 NGREP_LIBS += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`
17 endif
18 NGREP_CONF_ENV += LIBS+="$(NGREP_LIBS)"
20 NGREP_CONF_OPTS = \
21 --with-pcap-includes=$(STAGING_DIR)/usr/include/pcap \
22 --enable-pcre \
23 --with-pcre=$(STAGING_DIR)/usr \
24 --disable-dropprivs \
25 --disable-pcap-restart
27 NGREP_DEPENDENCIES = libpcap pcre
29 $(eval $(autotools-package))