1*6e220b3dSVijay KhemkaSUMMARY = "Expression parser"
2*6e220b3dSVijay KhemkaHOMEPAGE = "https://github.com/ArashPartow/exprtk"
3*6e220b3dSVijay KhemkaSECTION = "libs"
4*6e220b3dSVijay KhemkaLICENSE = "MIT"
5*6e220b3dSVijay KhemkaLIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
6*6e220b3dSVijay KhemkaSRCREV = "281c2ccc65b8f91c012ea3725ebcef406378a225"
7*6e220b3dSVijay Khemka
8*6e220b3dSVijay KhemkaSRC_URI = "git://github.com/ArashPartow/exprtk.git"
9*6e220b3dSVijay Khemka
10*6e220b3dSVijay KhemkaS = "${WORKDIR}/git"
11*6e220b3dSVijay Khemka
12*6e220b3dSVijay Khemka# other packages commonly reference the file directly as "exprtk.hpp"
13*6e220b3dSVijay Khemka# create symlink to allow this usage
14*6e220b3dSVijay Khemkado_install() {
15*6e220b3dSVijay Khemka    install -d ${D}/${includedir}
16*6e220b3dSVijay Khemka    install -m 0644 ${S}/exprtk.hpp ${D}/${includedir}/exprtk.hpp
17*6e220b3dSVijay Khemka}
18*6e220b3dSVijay Khemka
19*6e220b3dSVijay Khemka# exprtk is a header only C++ library, so the main package will be empty.
20*6e220b3dSVijay KhemkaRDEPENDS_${PN}-dev = ""
21*6e220b3dSVijay Khemka
22*6e220b3dSVijay KhemkaBBCLASSEXTEND = "native nativesdk"
23