1 ################################################################################
5 ################################################################################
8 DAQ_SITE = https://www.snort.org/downloads/snort
10 DAQ_LICENSE_FILES = COPYING
11 DAQ_INSTALL_STAGING = YES
12 DAQ_DEPENDENCIES = host-bison host-flex
14 # package does not build in parallel due to improper make rules
15 # related to the generation of the tokdefs.h header file
18 # disable ipq module as libipq is deprecated
19 DAQ_CONF_OPTS += --disable-ipq-module
21 ifeq ($(BR2_PACKAGE_LIBDNET)$(BR2_PACKAGE_LIBNETFILTER_QUEUE),yy)
22 DAQ_DEPENDENCIES += libdnet libnetfilter_queue
23 DAQ_CONF_OPTS += --enable-nfq-module
25 DAQ_CONF_OPTS += --disable-nfq-module
28 ifeq ($(BR2_PACKAGE_LIBPCAP),y)
29 DAQ_DEPENDENCIES += libpcap
30 # assume these flags are available to prevent configure from running
31 # test programs while cross compiling
33 ac_cv_lib_pcap_pcap_lib_version=yes \
34 daq_cv_libpcap_version_1x=yes
35 DAQ_CONF_OPTS += --enable-pcap-module
37 DAQ_CONF_OPTS += --disable-pcap-module
40 $(eval $(autotools-package))