summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/lua/lua5.1_5.1.5.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-06-02 14:39:22 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-06-21 19:22:26 +0200
commit3181aa0eb5b0f49b3c64aa3ef63dad3b771cff75 (patch)
tree902165284944ccd5d989dc2d814a4c9eca4622be /meta-oe/recipes-devtools/lua/lua5.1_5.1.5.bb
parenta4b54a8cc3855a0ca2585215c3dcb971f0ca59c1 (diff)
downloadmeta-openembedded-3181aa0eb5b0f49b3c64aa3ef63dad3b771cff75.tar.gz
lua: Remove lua5.1
* we have lua-5.2 in "lua" recipe and lua-5.1 in "lua5.1", but these aren't completely separate in sysroot: WARNING: The recipe lua is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/lauxlib.h Matched in manifest-qemux86-lua5.1.populate_sysroot /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/lua.h Matched in manifest-qemux86-lua5.1.populate_sysroot /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/lua.hpp Matched in manifest-qemux86-lua5.1.populate_sysroot /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/luaconf.h Matched in manifest-qemux86-lua5.1.populate_sysroot /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/lualib.h Matched in manifest-qemux86-lua5.1.populate_sysroot /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/lib/liblua.a Matched in manifest-qemux86-lua5.1.populate_sysroot Please verify which package should provide the above files. Causing some undeterministic behavior. * keep only 5.2 in "lua" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/lua/lua5.1_5.1.5.bb')
-rw-r--r--meta-oe/recipes-devtools/lua/lua5.1_5.1.5.bb55
1 files changed, 0 insertions, 55 deletions
diff --git a/meta-oe/recipes-devtools/lua/lua5.1_5.1.5.bb b/meta-oe/recipes-devtools/lua/lua5.1_5.1.5.bb
deleted file mode 100644
index f9469948e4..0000000000
--- a/meta-oe/recipes-devtools/lua/lua5.1_5.1.5.bb
+++ /dev/null
@@ -1,55 +0,0 @@
1DESCRIPTION = "Lua is a powerful light-weight programming language designed \
2for extending applications."
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=59bdd99bb82238f238cf5c65c21604fd"
5HOMEPAGE = "http://www.lua.org/"
6
7PR = "r2"
8
9DEPENDS += "readline"
10SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \
11 file://bitwise_operators.patch \
12 file://lua5.1.pc \
13 file://luaorg_1.patch \
14 file://luaorg_2.patch \
15"
16S = "${WORKDIR}/lua-${PV}"
17
18inherit pkgconfig binconfig
19
20UCLIBC_PATCHES += "file://uclibc-pthread.patch"
21SRC_URI_append_libc-uclibc = "${UCLIBC_PATCHES}"
22
23TARGET_CC_ARCH += " -fPIC ${LDFLAGS}"
24EXTRA_OEMAKE = "'CC=${CC} -fPIC' 'MYCFLAGS=${CFLAGS} -DLUA_USE_LINUX -fPIC' MYLDFLAGS='${LDFLAGS}'"
25
26do_configure_prepend() {
27 sed -i -e s:/usr/local:${prefix}:g src/luaconf.h
28 sed -i -e s:lib/lua/5.1/:${base_libdir}/lua/5.1/:g src/luaconf.h
29}
30
31do_compile () {
32 oe_runmake linux
33}
34
35do_install () {
36 oe_runmake \
37 'INSTALL_TOP=${D}${prefix}' \
38 'INSTALL_BIN=${D}${bindir}' \
39 'INSTALL_INC=${D}${includedir}/' \
40 'INSTALL_MAN=${D}${mandir}/man1' \
41 'INSTALL_SHARE=${D}${datadir}/lua' \
42 'INSTALL_LIB=${D}${libdir}' \
43 'INSTALL_CMOD=${D}${libdir}/lua/5.1' \
44 install
45 install -d ${D}${libdir}/pkgconfig
46 install -m 0644 ${WORKDIR}/lua5.1.pc ${D}${libdir}/pkgconfig/lua5.1.pc
47 rmdir ${D}${libdir}/lua/5.1
48 rmdir ${D}${libdir}/lua
49 rmdir ${D}${datadir}/lua/5.1
50 rmdir ${D}${datadir}/lua
51}
52BBCLASSEXTEND = "native"
53
54SRC_URI[md5sum] = "2e115fe26e435e33b0d5c022e4490567"
55SRC_URI[sha256sum] = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333"