Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding recipe for exprtk #267

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"