diff options
Diffstat (limited to 'meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb b/meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb new file mode 100644 index 0000000000..686b1365d0 --- /dev/null +++ b/meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | DESCRIPTION = "luaposix is a POSIX binding for Lua." | ||
| 2 | LICENSE = "MIT" | ||
| 3 | HOMEPAGE = "https://github.com/luaposix/luaposix" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9a2c76dbe2ca56cf57296af9c9995c27" | ||
| 5 | |||
| 6 | DEPENDS += "lua-native lua virtual/crypt" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/luaposix/luaposix.git;nobranch=1;tag=v${PV};protocol=https \ | ||
| 9 | " | ||
| 10 | SRCREV = "e6b94b37c19c4bd19a7dc475a4f4cb56f61f5da9" | ||
| 11 | LUA_VERSION = "5.5" | ||
| 12 | |||
| 13 | B = "${S}" | ||
| 14 | |||
| 15 | inherit pkgconfig | ||
| 16 | |||
| 17 | do_compile() { | ||
| 18 | ${S}/build-aux/luke LUA_INCDIR=${STAGING_INCDIR} | ||
| 19 | } | ||
| 20 | |||
| 21 | do_install() { | ||
| 22 | ${S}/build-aux/luke PREFIX=${D}${prefix} INST_LIBDIR=${D}${libdir}/lua/${LUA_VERSION} install | ||
| 23 | } | ||
| 24 | |||
| 25 | FILES:${PN} = "${datadir}/lua/${LUA_VERSION} \ | ||
| 26 | ${libdir}/lua/${LUA_VERSION}" | ||
