xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/exprtk/exprtk_git.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Expression parser"
2*4882a593SmuzhiyunHOMEPAGE = "https://github.com/ArashPartow/exprtk"
3*4882a593SmuzhiyunSECTION = "libs"
4*4882a593SmuzhiyunLICENSE = "MIT"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
6*4882a593SmuzhiyunSRCREV = "281c2ccc65b8f91c012ea3725ebcef406378a225"
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunSRC_URI = "git://github.com/ArashPartow/exprtk.git;branch=master;protocol=https"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunS = "${WORKDIR}/git"
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun# other packages commonly reference the file directly as "exprtk.hpp"
13*4882a593Smuzhiyun# create symlink to allow this usage
14*4882a593Smuzhiyundo_install() {
15*4882a593Smuzhiyun    install -d ${D}/${includedir}
16*4882a593Smuzhiyun    install -m 0644 ${S}/exprtk.hpp ${D}/${includedir}/exprtk.hpp
17*4882a593Smuzhiyun}
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun# exprtk is a header only C++ library, so the main package will be empty.
20*4882a593SmuzhiyunRDEPENDS:${PN}-dev = ""
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
23