xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/luaposix/luaposix_35.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1DESCRIPTION = "luaposix is a POSIX binding for Lua."
2LICENSE = "MIT"
3HOMEPAGE = "https://github.com/luaposix/luaposix"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=f81069e00c0cad249f20efe958276db1"
5
6DEPENDS += "lua-native lua virtual/crypt"
7
8SRC_URI = "git://github.com/luaposix/luaposix.git;branch=release-v${PV};protocol=https \
9"
10SRCREV = "14043c5086ae738823a5dfbc9170d9e14193fbef"
11S = "${WORKDIR}/git"
12LUA_VERSION = "5.4"
13
14B = "${S}"
15
16inherit pkgconfig
17
18do_compile() {
19    ${S}/build-aux/luke
20}
21
22do_install() {
23    ${S}/build-aux/luke PREFIX=${D}${prefix} INST_LIBDIR=${D}${libdir}/lua/${LUA_VERSION} install
24}
25
26FILES:${PN} = "${datadir}/lua/${LUA_VERSION} \
27               ${libdir}/lua/${LUA_VERSION}"
28