diff options
author | Li xin <lixin.fnst@cn.fujitsu.com> | 2016-01-03 18:09:26 -0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-01-06 13:25:50 +0100 |
commit | eed574a3227faa8bf2d87f4f6d138cc4df2fa7d1 (patch) | |
tree | c2305c40842157174c7a0baed988de89ce01b592 /meta-oe/recipes-devtools/lua/lua_5.3.2.bb | |
parent | c2652c90f726fa1728307afad73c3051ca7660f5 (diff) | |
download | meta-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.bb | 49 |
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 @@ | |||
1 | DESCRIPTION = "Lua is a powerful light-weight programming language designed \ | ||
2 | for extending applications." | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://doc/readme.html;beginline=318;endline=352;md5=68fc2aa2b751a37ff265524ddf026d7f" | ||
5 | HOMEPAGE = "http://www.lua.org/" | ||
6 | |||
7 | PR = "r0" | ||
8 | |||
9 | DEPENDS = "readline" | ||
10 | SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \ | ||
11 | file://lua.pc \ | ||
12 | " | ||
13 | |||
14 | SRC_URI[md5sum] = "33278c2ab5ee3c1a875be8d55c1ca2a1" | ||
15 | SRC_URI[sha256sum] = "c740c7bb23a936944e1cc63b7c3c5351a8976d7867c5252c8854f7b2af9da68f" | ||
16 | |||
17 | inherit pkgconfig binconfig | ||
18 | |||
19 | UCLIBC_PATCHES += "file://uclibc-pthread.patch" | ||
20 | SRC_URI_append_libc-uclibc = "${UCLIBC_PATCHES}" | ||
21 | |||
22 | TARGET_CC_ARCH += " -fPIC ${LDFLAGS}" | ||
23 | EXTRA_OEMAKE = "'CC=${CC} -fPIC' 'MYCFLAGS=${CFLAGS} -DLUA_USE_LINUX -fPIC' MYLDFLAGS='${LDFLAGS}'" | ||
24 | |||
25 | do_configure_prepend() { | ||
26 | sed -i -e s:/usr/local:${prefix}:g src/luaconf.h | ||
27 | } | ||
28 | |||
29 | do_compile () { | ||
30 | oe_runmake linux | ||
31 | } | ||
32 | |||
33 | do_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 | |||
49 | BBCLASSEXTEND = "native" | ||