kumquat-buildroot/package/tcpreplay/tcpreplay.mk
Thomas Petazzoni 300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00

16 lines
426 B
Makefile

#############################################################
#
# tcpreplay
#
#############################################################
TCPREPLAY_VERSION = 3.4.3
TCPREPLAY_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/tcpreplay
TCPREPLAY_CONF_ENV = tr_cv_libpcap_version=">= 0.7.0"
TCPREPLAY_CONF_OPT = --with-libpcap=$(STAGING_DIR)/usr
TCPREPLAY_DEPENDENCIES = uclibc libpcap
$(eval $(call AUTOTARGETS))