Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 1 | DESCRIPTION = "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 | |
| 8 | SECTION = "libs" |
| 9 | LICENSE = "BSL-1.0 & MIT & Python-2.0" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c" |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 11 | PV = "0.13.0" |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 12 | |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 13 | SRCREV = "31d304cdf52b485f465ada433d8905171b61cbff" |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 14 | SRC_URI = "\ |
| 15 | git://github.com/cpp-netlib/cpp-netlib.git;protocol=https;branch=0.13-release \ |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 16 | file://a53f123040998744602f190944464af0e159ea19.patch \ |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 17 | " |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 18 | |
| 19 | S = "${WORKDIR}/git" |
| 20 | |
| 21 | inherit cmake pkgconfig |
| 22 | |
| 23 | DEPENDS = "zlib boost openssl" |
| 24 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 25 | EXTRA_OECMAKE:append = " -DCPP-NETLIB_BUILD_TESTS=OFF -DCPP-NETLIB_BUILD_EXAMPLES=OFF" |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 26 | |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 27 | do_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 | } |