2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-09-10 20:59:16 +02:00
|
|
|
#
|
|
|
|
# ngrep
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-09-10 20:59:16 +02:00
|
|
|
|
|
|
|
NGREP_VERSION = 1.45
|
|
|
|
NGREP_SOURCE = ngrep-$(NGREP_VERSION).tar.bz2
|
2012-08-26 01:52:48 +02:00
|
|
|
NGREP_SITE = http://downloads.sourceforge.net/project/ngrep/ngrep/$(NGREP_VERSION)
|
2013-10-14 16:05:41 +02:00
|
|
|
NGREP_LICENSE = BSD-4c-like
|
|
|
|
NGREP_LICENSE_FILES = LICENSE.txt
|
2011-09-10 20:59:16 +02:00
|
|
|
NGREP_INSTALL_STAGING = YES
|
2014-08-09 17:54:42 +02:00
|
|
|
|
|
|
|
NGREP_LIBS = -lpcap -lpcre
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2015-07-12 16:35:26 +02:00
|
|
|
NGREP_LIBS += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`
|
2014-08-09 17:54:42 +02:00
|
|
|
endif
|
|
|
|
NGREP_CONF_ENV += LIBS+="$(NGREP_LIBS)"
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
NGREP_CONF_OPTS = \
|
2014-10-20 21:54:26 +02:00
|
|
|
--with-pcap-includes=$(STAGING_DIR)/usr/include/pcap \
|
2011-09-10 20:59:16 +02:00
|
|
|
--enable-pcre \
|
|
|
|
--with-pcre=$(STAGING_DIR)/usr \
|
2016-10-27 07:04:04 +02:00
|
|
|
--disable-dropprivs \
|
|
|
|
--disable-pcap-restart
|
2011-09-10 20:59:16 +02:00
|
|
|
|
|
|
|
NGREP_DEPENDENCIES = libpcap pcre
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|