diff options
author | Haseeb Ashraf <haseeb_ashraf@mentor.com> | 2020-04-17 14:47:17 +0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-17 19:05:58 -0700 |
commit | 334ce5ab377b3ae8f70cfa50637036f0b7f9a2a6 (patch) | |
tree | a7990099fe367632baec6df0a4b96f783157a6a8 /meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb | |
parent | 335e0bd0cc3fa5ba058f726e7c7b93c27c3d2042 (diff) | |
download | meta-openembedded-334ce5ab377b3ae8f70cfa50637036f0b7f9a2a6.tar.gz |
luaposix: add 33.4.0 version recipe which is compatible with lua5.3
Signed-off-by: Haseeb Ashraf <Haseeb_Ashraf@mentor.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb')
-rw-r--r-- | meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb b/meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb new file mode 100644 index 0000000000..1bee9fe0b9 --- /dev/null +++ b/meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "luaposix is a POSIX binding for Lua." +LICENSE = "MIT" +HOMEPAGE = "https://github.com/luaposix/luaposix" +LIC_FILES_CHKSUM = "file://COPYING;md5=7dd2aad04bb7ca212e69127ba8d58f9f" + +DEPENDS += "lua-native lua" + +SRC_URI = "git://github.com/luaposix/luaposix.git;branch=release \ + file://0001-fix-avoid-race-condition-between-test-and-mkdir.patch \ +" +SRCREV = "8e4902ed81c922ed8f76a7ed85be1eaa3fd7e66d" +S = "${WORKDIR}/git" +LUA_VERSION = "5.3" + +inherit autotools pkgconfig + +do_install() { + oe_runmake 'DESTDIR=${D}' 'luadir=${datadir}/lua/${LUA_VERSION}' 'luaexecdir=${libdir}/lua/${LUA_VERSION}' install +} + +FILES_${PN} = "${datadir}/lua/${LUA_VERSION} ${libdir}/lua/${LUA_VERSION}" |