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