summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb
blob: 9b42ea17f55081fd1719372819e3b5be9f8b6afa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SUMMARY = "fifo maps for c++"
HOMEPAGE = "https://github.com/nlohmann/fifo_map"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=b67209a1e36b682a8226de19d265b1e0"

SRC_URI = "git://github.com/nlohmann/fifo_map.git;branch=master;protocol=https \
           file://0001-catch.hpp-Upgrade-to-latest-from-Catch-v1.12.2.patch \
           file://0002-catch.hpp-Define-SIGSTKSZ-as-constant.patch \
          "
PV = "1.0.0+git"

SRCREV = "d732aaf9a315415ae8fd7eb11e3a4c1f80e42a48"

UPSTREAM_CHECK_COMMITS = "1"


# nlohmann-fifo is a header only C++ library, so the main package will be empty.

RDEPENDS:${PN}-dev = ""

BBCLASSEXTEND = "native nativesdk"

# See https://github.com/SOCI/soci/issues/984
CXXFLAGS:append:toolchain-clang:runtime-llvm = " -DCATCH_CONFIG_CPP11_NO_SHUFFLE"

do_install() {
    install -d ${D}${includedir}
    install -m 0644 ${S}/src/fifo_map.hpp ${D}${includedir} 
}