python3: update to 3.11.10
[openadk.git] / package / libpcap / Makefile
blobb9772780d3cbc216d7317b1c3002aff523c22436
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
6 PKG_NAME:= libpcap
7 PKG_VERSION:= 1.10.5
8 PKG_RELEASE:= 1
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/
14 PKG_OPTS:= dev
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 \
26 --disable-dbus \
27 --without-libnl \
28 --with-pcap=linux
29 INSTALL_TARGET= install install-shared
31 ifneq (${ADK_PACKAGE_LIBPCAP_WITH_IPV6},)
32 CONFIGURE_ARGS+= --enable-ipv6
33 else
34 CONFIGURE_ARGS+= --disable-ipv6
35 endif
37 libpcap-install:
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