1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 37ced90a19a302a7f32e458224a00c365c117905c2cd35ac544b6880a81488f0
10 PKG_DESCR
:= low-level packet capture library
11 PKG_SECTION
:= libs
/net
12 PKG_URL
:= http
://www.tcpdump.org
/
13 PKG_SITES
:= http
://www.tcpdump.org
/release
/
16 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
18 PKG_FLAVOURS_LIBPCAP
:= WITH_IPV6
19 PKGFD_WITH_IPV6
:= enable IPv6 support
21 include $(ADK_TOPDIR
)/mk
/package.mk
23 $(eval
$(call PKG_template
,LIBPCAP
,libpcap
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
25 CONFIGURE_ARGS
+= --disable-yydebug \
29 INSTALL_TARGET
= install install-shared
31 ifneq (${ADK_PACKAGE_LIBPCAP_WITH_IPV6},)
32 CONFIGURE_ARGS
+= --enable-ipv6
34 CONFIGURE_ARGS
+= --disable-ipv6
38 ${INSTALL_DIR} ${IDIR_LIBPCAP}/usr
/lib
39 ${CP} ${WRKINST}/usr
/lib
/libpcap.so
* ${IDIR_LIBPCAP}/usr
/lib
41 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk