luaunit: initial recipe

heavily inspired from version in meta-microblx

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Martin Siegumfeldt authored and Khem Raj committed 2026-10-29 06:42:15 -07:00
1 parent d760b45f64
commit 58a51944b5
1 file changed
+17
@@ -0,0 +1,17 @@
SUMMARY = "Unit testing framework for Lua"
HOMEPAGE = "https://github.com/bluebird75/luaunit"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3cbaf542c6e9a9dcad6c372227ac49a1"
SRC_URI = "git://github.com/bluebird75/luaunit.git;protocol=https;nobranch=1;tag=LUAUNIT_V3_5"
SRCREV = "9678c933e71cb26adcdfa6cf1baceb926398eb48"
RDEPENDS:${PN} = "lua"
LUA_VERSION = "5.5"
do_install() {
install -D ${S}/luaunit.lua ${D}${datadir}/lua/${LUA_VERSION}/luaunit.lua
}
FILES:${PN} = "${datadir}/lua/${LUA_VERSION}/luaunit.lua"