aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/function2/function2_4.1.0.bb
blob: 56dc30acdcde48863b2e48bcc3d1a9a60c5f987a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "Improved drop-in replacement for std::function"
DESCRIPTION = "Provides improved implementations of std::function."
HOMEPAGE = "https://naios.github.io/function2"
LICENSE = "BSL-1.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
SRCREV = "3a0746bf5f601dfed05330aefcb6854354fce07d"
PV .= "+git${SRCPV}"

SRC_URI += "gitsm://github.com/Naios/function2"

S = "${WORKDIR}/git"

inherit cmake
inherit ptest

# Installs some data to incorrect top-level /usr directory
do_install_append() {
	mkdir -p ${D}/${datadir}/function2
	mv ${D}/${prefix}/Readme.md ${D}/${datadir}/function2/
	mv ${D}/${prefix}/LICENSE.txt ${D}/${datadir}/function2/
}