blob: 39c6942c83834090e221c564c3abe33ebe21105b [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001SUMMARY = "A multiplatform C++ library for capturing, parsing and crafting of network packets"
2HOMEPAGE = "https://pcapplusplus.github.io/"
3BUGTRACKER = "https://github.com/seladb/PcapPlusPlus/issues"
4SECTION = "libs/network"
5LICENSE = "Unlicense"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f"
7
8DEPENDS = "libpcap"
9
10SRC_URI = "git://github.com/seladb/PcapPlusPlus.git;protocol=https;branch=master"
11SRCREV = "4cf8ed44f9dd145f874dc1dd747dfefcfcab75be"
12
13S = "${WORKDIR}/git"
14
15inherit cmake
16
17PACKAGECONFIG ??= ""
18PACKAGECONFIG[examples] = "-DPCAPPP_BUILD_EXAMPLES=ON,-DPCAPPP_BUILD_EXAMPLES=OFF"
19PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF"
20PACKAGECONFIG[tests] = "-DPCAPPP_BUILD_TESTS=ON,-DPCAPPP_BUILD_TESTS=OFF"
21PACKAGECONFIG[zstd] = "-DLIGHT_PCAPNG_ZSTD=ON,-DLIGHT_PCAPNG_ZSTD=OFF,zstd"