Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00

23 lines
721 B
BlitzBasic

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;branch=master;protocol=https"
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"