c683d37cdc
daq depends on flex and bison to be configured. Fixes: http://autobuild.buildroot.net/results/43da4ae3b7fc26e6712d369d4d030954d0d85149 http://autobuild.buildroot.net/results/0fc2bcf9da758f427adf2fddca8ad1dace6a080e http://autobuild.buildroot.net/results/7411ac4ae5bef71b78c69b680de2b72f389ad2ee ... and many more. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# daq
|
|
#
|
|
################################################################################
|
|
|
|
DAQ_VERSION = 2.0.6
|
|
DAQ_SITE = https://www.snort.org/downloads/snort
|
|
DAQ_LICENSE = GPL-2.0
|
|
DAQ_LICENSE_FILES = COPYING
|
|
DAQ_INSTALL_STAGING = YES
|
|
DAQ_DEPENDENCIES = host-bison host-flex
|
|
|
|
# package does not build in parallel due to improper make rules
|
|
# related to the generation of the tokdefs.h header file
|
|
DAQ_MAKE = $(MAKE1)
|
|
|
|
# disable ipq module as libipq is deprecated
|
|
DAQ_CONF_OPTS += --disable-ipq-module
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBDNET)$(BR2_PACKAGE_LIBNETFILTER_QUEUE),yy)
|
|
DAQ_DEPENDENCIES += libdnet libnetfilter_queue
|
|
DAQ_CONF_OPTS += --enable-nfq-module
|
|
else
|
|
DAQ_CONF_OPTS += --disable-nfq-module
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPCAP),y)
|
|
DAQ_DEPENDENCIES += libpcap
|
|
# assume these flags are available to prevent configure from running
|
|
# test programs while cross compiling
|
|
DAQ_CONF_ENV += \
|
|
ac_cv_lib_pcap_pcap_lib_version=yes \
|
|
daq_cv_libpcap_version_1x=yes
|
|
DAQ_CONF_OPTS += --enable-pcap-module
|
|
else
|
|
DAQ_CONF_OPTS += --disable-pcap-module
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|