diff options
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.bb | 55 |
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 f9469948e..000000000 --- a/meta-oe/recipes-devtools/lua/lua5.1_5.1.5.bb +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | DESCRIPTION = "Lua is a powerful light-weight programming language designed \ | ||
2 | for extending applications." | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=59bdd99bb82238f238cf5c65c21604fd" | ||
5 | HOMEPAGE = "http://www.lua.org/" | ||
6 | |||
7 | PR = "r2" | ||
8 | |||
9 | DEPENDS += "readline" | ||
10 | SRC_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 | " | ||
16 | S = "${WORKDIR}/lua-${PV}" | ||
17 | |||
18 | inherit pkgconfig binconfig | ||
19 | |||
20 | UCLIBC_PATCHES += "file://uclibc-pthread.patch" | ||
21 | SRC_URI_append_libc-uclibc = "${UCLIBC_PATCHES}" | ||
22 | |||
23 | TARGET_CC_ARCH += " -fPIC ${LDFLAGS}" | ||
24 | EXTRA_OEMAKE = "'CC=${CC} -fPIC' 'MYCFLAGS=${CFLAGS} -DLUA_USE_LINUX -fPIC' MYLDFLAGS='${LDFLAGS}'" | ||
25 | |||
26 | do_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 | |||
31 | do_compile () { | ||
32 | oe_runmake linux | ||
33 | } | ||
34 | |||
35 | do_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 | } | ||
52 | BBCLASSEXTEND = "native" | ||
53 | |||
54 | SRC_URI[md5sum] = "2e115fe26e435e33b0d5c022e4490567" | ||
55 | SRC_URI[sha256sum] = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333" | ||