2009-07-30 03:59:49 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# tcpreplay
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
|
|
|
TCPREPLAY_VERSION = 3.4.3
|
2012-08-26 01:52:48 +02:00
|
|
|
TCPREPLAY_SITE = http://downloads.sourceforge.net/project/tcpreplay/tcpreplay/$(TCPREPLAY_VERSION)
|
2009-07-30 03:59:49 +02:00
|
|
|
TCPREPLAY_CONF_ENV = tr_cv_libpcap_version=">= 0.7.0"
|
2011-08-10 00:12:53 +02:00
|
|
|
TCPREPLAY_CONF_OPT = --with-libpcap=$(STAGING_DIR)/usr
|
2012-06-26 23:25:29 +02:00
|
|
|
TCPREPLAY_AUTORECONF = YES
|
|
|
|
TCPREPLAY_DEPENDENCIES = libpcap
|
2009-07-30 03:59:49 +02:00
|
|
|
|
2012-06-27 09:42:33 +02:00
|
|
|
# libpcap may depend on symbols in libusb as well
|
|
|
|
TCPREPLAY_LIBS = -lpcap $(if $(BR2_PACKAGE_LIBUSB),-lusb-1.0)
|
|
|
|
TCPREPLAY_CONF_ENV += ac_cv_search_pcap_close='$(TCPREPLAY_LIBS)'
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2009-07-30 03:59:49 +02:00
|
|
|
|