2005-01-18 01:28:09 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
2007-08-19 23:11:15 +02:00
|
|
|
# libpcap
|
2005-01-18 01:28:09 +01:00
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2012-01-26 17:51:30 +01:00
|
|
|
LIBPCAP_VERSION = 1.2.1
|
|
|
|
LIBPCAP_SITE = http://www.tcpdump.org/release
|
|
|
|
LIBPCAP_INSTALL_STAGING = YES
|
2009-10-07 22:08:37 +02:00
|
|
|
# doesn't have an install-strip
|
|
|
|
LIBPCAP_INSTALL_TARGET_OPT= DESTDIR="$(TARGET_DIR)" \
|
|
|
|
$(if $(BR2_PREFER_STATIC_LIB),install,install-shared)
|
2009-10-30 18:04:10 +01:00
|
|
|
LIBPCAP_INSTALL_STAGING_OPT= DESTDIR="$(STAGING_DIR)" install \
|
|
|
|
$(if $(BR2_PREFER_STATIC_LIB),,install-shared)
|
2012-01-26 17:51:30 +01:00
|
|
|
LIBPCAP_DEPENDENCIES = zlib
|
|
|
|
LIBPCAP_CONF_ENV = ac_cv_linux_vers=2 \
|
|
|
|
ac_cv_header_linux_wireless_h=yes # configure misdetects this
|
|
|
|
LIBPCAP_CONF_OPT = --disable-yydebug --with-pcap=linux
|
2009-10-07 22:08:37 +02:00
|
|
|
|
2011-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|