summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/lua/lua_5.3.2.bb
diff options
context:
space:
mode:
authorLi xin <lixin.fnst@cn.fujitsu.com>2016-01-03 18:09:26 -0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-01-06 13:25:50 +0100
commiteed574a3227faa8bf2d87f4f6d138cc4df2fa7d1 (patch)
treec2305c40842157174c7a0baed988de89ce01b592 /meta-oe/recipes-devtools/lua/lua_5.3.2.bb
parentc2652c90f726fa1728307afad73c3051ca7660f5 (diff)
downloadmeta-openembedded-eed574a3227faa8bf2d87f4f6d138cc4df2fa7d1.tar.gz
lua: 5.3.1 -> 5.3.2
Upgrade lua from 5.3.1 to 5.3.2. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/lua/lua_5.3.2.bb')
-rw-r--r--meta-oe/recipes-devtools/lua/lua_5.3.2.bb49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/lua/lua_5.3.2.bb b/meta-oe/recipes-devtools/lua/lua_5.3.2.bb
new file mode 100644
index 000000000..3fe8c3fe8
--- /dev/null
+++ b/meta-oe/recipes-devtools/lua/lua_5.3.2.bb
@@ -0,0 +1,49 @@
1DESCRIPTION = "Lua is a powerful light-weight programming language designed \
2for extending applications."
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://doc/readme.html;beginline=318;endline=352;md5=68fc2aa2b751a37ff265524ddf026d7f"
5HOMEPAGE = "http://www.lua.org/"
6
7PR = "r0"
8
9DEPENDS = "readline"
10SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \
11 file://lua.pc \
12"
13
14SRC_URI[md5sum] = "33278c2ab5ee3c1a875be8d55c1ca2a1"
15SRC_URI[sha256sum] = "c740c7bb23a936944e1cc63b7c3c5351a8976d7867c5252c8854f7b2af9da68f"
16
17inherit pkgconfig binconfig
18
19UCLIBC_PATCHES += "file://uclibc-pthread.patch"
20SRC_URI_append_libc-uclibc = "${UCLIBC_PATCHES}"
21
22TARGET_CC_ARCH += " -fPIC ${LDFLAGS}"
23EXTRA_OEMAKE = "'CC=${CC} -fPIC' 'MYCFLAGS=${CFLAGS} -DLUA_USE_LINUX -fPIC' MYLDFLAGS='${LDFLAGS}'"
24
25do_configure_prepend() {
26 sed -i -e s:/usr/local:${prefix}:g src/luaconf.h
27}
28
29do_compile () {
30 oe_runmake linux
31}
32
33do_install () {
34 oe_runmake \
35 'INSTALL_TOP=${D}${prefix}' \
36 'INSTALL_BIN=${D}${bindir}' \
37 'INSTALL_INC=${D}${includedir}/' \
38 'INSTALL_MAN=${D}${mandir}/man1' \
39 'INSTALL_SHARE=${D}${datadir}/lua' \
40 'INSTALL_LIB=${D}${libdir}' \
41 'INSTALL_CMOD=${D}${libdir}/lua/5.3' \
42 install
43 install -d ${D}${libdir}/pkgconfig
44 install -m 0644 ${WORKDIR}/lua.pc ${D}${libdir}/pkgconfig/
45 rmdir ${D}${datadir}/lua/5.3
46 rmdir ${D}${datadir}/lua
47}
48
49BBCLASSEXTEND = "native"