daq: new package

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
[Thomas:
 - re-order depends on/select in Config.in
 - add <pkg>_INSTALL_STAGING = YES
 - drop double quotes when passing values in <pkg>_CONF_ENV.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Sergio Prado
2017-12-24 19:18:05 -02:00
committed by Thomas Petazzoni
parent 84a2645e5b
commit 2f7382b6f6
6 changed files with 74 additions and 0 deletions

25
package/daq/daq.mk Normal file
View File

@@ -0,0 +1,25 @@
################################################################################
#
# daq
#
################################################################################
DAQ_VERSION = 2.0.6
DAQ_SITE = https://www.snort.org/downloads/snort
DAQ_SOURCE = daq-$(DAQ_VERSION).tar.gz
DAQ_LICENSE = GPL-2.0
DAQ_LICENSE_FILES = COPYING
DAQ_INSTALL_STAGING = YES
DAQ_DEPENDENCIES = libpcap libdnet
# package does not build in parallel due to improper make rules
# related to the generation of the tokdefs.h header file
DAQ_MAKE = $(MAKE1)
# 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
$(eval $(autotools-package))