diff options
| -rw-r--r-- | meta-oe/recipes-support/function2/function2_4.0.0.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/function2/function2_4.0.0.bb b/meta-oe/recipes-support/function2/function2_4.0.0.bb new file mode 100644 index 0000000000..556a25aa14 --- /dev/null +++ b/meta-oe/recipes-support/function2/function2_4.0.0.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | SUMMARY = "Improved drop-in replacement for std::function" | ||
| 2 | DESCRIPTION = "Provides improved implementations of std::function." | ||
| 3 | HOMEPAGE = "https://naios.github.io/function2" | ||
| 4 | LICENSE = "BSL-1.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c" | ||
| 6 | SRCREV = "d2acdb6c3c7612a6133cd03464ef941161258f4e" | ||
| 7 | PV .= "+git${SRCPV}" | ||
| 8 | |||
| 9 | SRC_URI += "gitsm://github.com/Naios/function2" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | inherit cmake | ||
| 14 | inherit ptest | ||
| 15 | |||
| 16 | # Installs some data to incorrect top-level /usr directory | ||
| 17 | do_install_append() { | ||
| 18 | mkdir -p ${D}/${datadir}/function2 | ||
| 19 | mv ${D}/${prefix}/Readme.md ${D}/${datadir}/function2/ | ||
| 20 | mv ${D}/${prefix}/LICENSE.txt ${D}/${datadir}/function2/ | ||
| 21 | } | ||
