blob: 5c7d4c91994842e1d5e3b7922fcc55c897b424f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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"
SRC_URI = "git://github.com/luaposix/luaposix.git;branch=release-v${PV} \
"
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}"
|