xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/function2/function2_4.2.0.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Improved drop-in replacement for std::function"
2*4882a593SmuzhiyunDESCRIPTION = "Provides improved implementations of std::function."
3*4882a593SmuzhiyunHOMEPAGE = "https://naios.github.io/function2"
4*4882a593SmuzhiyunLICENSE = "BSL-1.0"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
6*4882a593SmuzhiyunSRCREV = "02ca99831de59c7c3a4b834789260253cace0ced"
7*4882a593SmuzhiyunPV .= "+git${SRCPV}"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunSRC_URI += "gitsm://github.com/Naios/function2;branch=master;protocol=https"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunS = "${WORKDIR}/git"
12*4882a593Smuzhiyun
13*4882a593Smuzhiyuninherit cmake
14*4882a593Smuzhiyuninherit ptest
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun# Installs some data to incorrect top-level /usr directory
17*4882a593Smuzhiyundo_install:append() {
18*4882a593Smuzhiyun	mkdir -p ${D}/${datadir}/function2
19*4882a593Smuzhiyun	mv ${D}/${prefix}/Readme.md ${D}/${datadir}/function2/
20*4882a593Smuzhiyun	mv ${D}/${prefix}/LICENSE.txt ${D}/${datadir}/function2/
21*4882a593Smuzhiyun}
22