The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / tcpreplay / tcpreplay.mk
1 ################################################################################
2 #
3 # tcpreplay
4 #
5 ################################################################################
6
7 TCPREPLAY_VERSION = 4.1.0
8 TCPREPLAY_SITE = http://downloads.sourceforge.net/project/tcpreplay/tcpreplay/$(TCPREPLAY_VERSION)
9 TCPREPLAY_LICENSE = GPLv3
10 TCPREPLAY_LICENSE_FILES = docs/LICENSE
11 TCPREPLAY_CONF_ENV = \
12         tr_cv_libpcap_version=">= 0.7.0" \
13         ac_cv_have_bpf=no \
14         $(call AUTOCONF_AC_CHECK_FILE_VAL,$(STAGING_DIR)/usr/include/pcap-netmap.c)=no
15 TCPREPLAY_CONF_OPTS = --with-libpcap=$(STAGING_DIR)/usr
16 TCPREPLAY_DEPENDENCIES = libpcap
17
18 # libpcap may depend on symbols in other libs
19 TCPREPLAY_LIBS = $(shell $(STAGING_DIR)/usr/bin/pcap-config --static --libs)
20 TCPREPLAY_CONF_ENV += ac_cv_search_pcap_close='$(TCPREPLAY_LIBS)' \
21         LIBS="$(TCPREPLAY_LIBS)"
22
23 ifeq ($(BR2_PACKAGE_TCPDUMP),y)
24 TCPREPLAY_CONF_ENV += ac_cv_path_tcpdump_path=/usr/sbin/tcpdump
25 else
26 TCPREPLAY_CONF_ENV += ac_cv_path_tcpdump_path=no
27 endif
28
29 $(eval $(autotools-package))