blob: bda5177fc401be5f6bb0b8bdf34f0bc5ea1990fa [file] [log] [blame]
Andrew Geissler4b7c1152020-11-30 19:55:29 -06001DESCRIPTION = "Modern C++ network programming libraries."
2
3# This library provides general purpose network functionality such as
4# socket communication to agent libraries. It was designed to be merged
5# into boost at some point and follows similar header library approach
6# for most functionality.
7
8SECTION = "libs"
9LICENSE = "BSL-1.0 & MIT & Python-2.0"
10LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
Andrew Geissler220dafd2023-10-04 10:18:08 -050011PV = "0.13.0"
Andrew Geissler4b7c1152020-11-30 19:55:29 -060012
Andrew Geissler220dafd2023-10-04 10:18:08 -050013SRCREV = "31d304cdf52b485f465ada433d8905171b61cbff"
Andrew Geissler4b7c1152020-11-30 19:55:29 -060014SRC_URI = "\
15 git://github.com/cpp-netlib/cpp-netlib.git;protocol=https;branch=0.13-release \
Andrew Geissler220dafd2023-10-04 10:18:08 -050016 file://a53f123040998744602f190944464af0e159ea19.patch \
Andrew Geissler4b7c1152020-11-30 19:55:29 -060017"
Andrew Geissler4b7c1152020-11-30 19:55:29 -060018
19S = "${WORKDIR}/git"
20
21inherit cmake pkgconfig
22
23DEPENDS = "zlib boost openssl"
24
Patrick Williams213cb262021-08-07 19:21:33 -050025EXTRA_OECMAKE:append = " -DCPP-NETLIB_BUILD_TESTS=OFF -DCPP-NETLIB_BUILD_EXAMPLES=OFF"
Andrew Geissler4b7c1152020-11-30 19:55:29 -060026
Andrew Geissler220dafd2023-10-04 10:18:08 -050027do_install:append() {
28 sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/cppnetlib/cppnetlibConfig.cmake
29 sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/cppnetlib/cppnetlibTargets-noconfig.cmake
30}