blob: 720e2eab8ff14dda8faa1525be6e8c2a5e965432 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001DESCRIPTION = "luaposix is a POSIX binding for Lua."
2LICENSE = "MIT"
3HOMEPAGE = "https://github.com/luaposix/luaposix"
4LIC_FILES_CHKSUM = "file://COPYING;md5=7dd2aad04bb7ca212e69127ba8d58f9f"
5
6DEPENDS += "lua-native lua"
7
8SRC_URI = "git://github.com/luaposix/luaposix.git;branch=release \
9 file://0001-fix-avoid-race-condition-between-test-and-mkdir.patch \
10"
11SRCREV = "8e4902ed81c922ed8f76a7ed85be1eaa3fd7e66d"
12S = "${WORKDIR}/git"
13LUA_VERSION = "5.3"
14
15inherit autotools pkgconfig
16
17do_install() {
18 oe_runmake 'DESTDIR=${D}' 'luadir=${datadir}/lua/${LUA_VERSION}' 'luaexecdir=${libdir}/lua/${LUA_VERSION}' install
19}
20
Patrick Williams213cb262021-08-07 19:21:33 -050021FILES:${PN} = "${datadir}/lua/${LUA_VERSION} ${libdir}/lua/${LUA_VERSION}"