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