Skip to content

Commit

Permalink
Adding recipe for exprtk
Browse files Browse the repository at this point in the history
The C++ Mathematical Expression  Toolkit Library (ExprTk) is  a simple
to  use,   easy  to   integrate  and   extremely  efficient   run-time
mathematical  expression parsing  and evaluation  engine. The  parsing
engine  supports numerous  forms  of  functional and  logic processing
semantics and is easily extensible.

It is a header only library.

Signed-off-by: Vijay Khemka <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
vijaykhemka authored and kraj committed Aug 12, 2020
1 parent 8fd3da8 commit dd0fafd
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions meta-oe/recipes-devtools/exprtk/exprtk_git.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
SUMMARY = "Expression parser"
HOMEPAGE = "https://github.com/ArashPartow/exprtk"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRCREV = "281c2ccc65b8f91c012ea3725ebcef406378a225"

SRC_URI = "git://github.com/ArashPartow/exprtk.git"

S = "${WORKDIR}/git"

# other packages commonly reference the file directly as "exprtk.hpp"
# create symlink to allow this usage
do_install() {
install -d ${D}/${includedir}
install -m 0644 ${S}/exprtk.hpp ${D}/${includedir}/exprtk.hpp
}

# exprtk is a header only C++ library, so the main package will be empty.
RDEPENDS_${PN}-dev = ""

BBCLASSEXTEND = "native nativesdk"

0 comments on commit dd0fafd

Please sign in to comment.