1 ################################################################################
5 ################################################################################
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`
18 NGREP_CONF_ENV
+= LIBS
+="$(NGREP_LIBS)"
21 --with-pcap-includes
=$(STAGING_DIR
)/usr
/include/pcap \
23 --with-pcre
=$(STAGING_DIR
)/usr \
25 --disable-pcap-restart
27 NGREP_DEPENDENCIES
= libpcap pcre
29 $(eval
$(autotools-package
))