Files
meta-openembedded/meta-oe/recipes-devtools/luaposix/luaposix_35.1.bb
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

28 lines
657 B
BlitzBasic

DESCRIPTION = "luaposix is a POSIX binding for Lua."
LICENSE = "MIT"
HOMEPAGE = "https://github.com/luaposix/luaposix"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f81069e00c0cad249f20efe958276db1"
DEPENDS += "lua-native lua virtual/crypt"
SRC_URI = "git://github.com/luaposix/luaposix.git;branch=release-v${PV};protocol=https \
"
SRCREV = "14043c5086ae738823a5dfbc9170d9e14193fbef"
S = "${WORKDIR}/git"
LUA_VERSION = "5.4"
B = "${S}"
inherit pkgconfig
do_compile() {
${S}/build-aux/luke
}
do_install() {
${S}/build-aux/luke PREFIX=${D}${prefix} install
}
FILES:${PN} = "${datadir}/lua/${LUA_VERSION} \
${libdir}/lua/${LUA_VERSION}"