blob: 686b1365d05ecbe34bd3d3f1ed9b25704bdddfcc (
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
|
DESCRIPTION = "luaposix is a POSIX binding for Lua."
LICENSE = "MIT"
HOMEPAGE = "https://github.com/luaposix/luaposix"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9a2c76dbe2ca56cf57296af9c9995c27"
DEPENDS += "lua-native lua virtual/crypt"
SRC_URI = "git://github.com/luaposix/luaposix.git;nobranch=1;tag=v${PV};protocol=https \
"
SRCREV = "e6b94b37c19c4bd19a7dc475a4f4cb56f61f5da9"
LUA_VERSION = "5.5"
B = "${S}"
inherit pkgconfig
do_compile() {
${S}/build-aux/luke LUA_INCDIR=${STAGING_INCDIR}
}
do_install() {
${S}/build-aux/luke PREFIX=${D}${prefix} INST_LIBDIR=${D}${libdir}/lua/${LUA_VERSION} install
}
FILES:${PN} = "${datadir}/lua/${LUA_VERSION} \
${libdir}/lua/${LUA_VERSION}"
|