diff options
-rw-r--r-- | meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb b/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb new file mode 100644 index 0000000000..326a4abfbe --- /dev/null +++ b/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "fifo maps for c++" | ||
2 | HOMEPAGE = "https://github.com/nlohmann/fifo_map" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=b67209a1e36b682a8226de19d265b1e0" | ||
6 | |||
7 | SRC_URI = "git://github.com/nlohmann/fifo_map.git" | ||
8 | |||
9 | PV = "1.0.0+git${SRCPV}" | ||
10 | |||
11 | SRCREV = "0dfbf5dacbb15a32c43f912a7e66a54aae39d0f9" | ||
12 | |||
13 | S = "${WORKDIR}/git" | ||
14 | |||
15 | # nlohmann-fifo is a header only C++ library, so the main package will be empty. | ||
16 | |||
17 | RDEPENDS_${PN}-dev = "" | ||
18 | |||
19 | BBCLASSEXTEND = "native nativesdk" | ||
20 | |||
21 | do_install() { | ||
22 | install -d ${D}${includedir} | ||
23 | install -m 0644 ${S}/src/fifo_map.hpp ${D}${includedir} | ||
24 | } | ||