diff options
| author | Marko Lindqvist <cazfi74@gmail.com> | 2012-11-28 21:03:53 +0000 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-16 21:11:44 +0100 |
| commit | 4e6bd189c52bc5376a853919b584661661118581 (patch) | |
| tree | d35af40728065b73f27afb571e7bbf7b594dd881 /meta-oe/recipes-devtools/lua/lua5.1_5.1.5.bb | |
| parent | 31ff8c0cb7e8525ded97ed664871f944a8812544 (diff) | |
| download | meta-openembedded-4e6bd189c52bc5376a853919b584661661118581.tar.gz | |
lua: update to upstream version 5.1.5
* COPYRIGHT: md5sum changed only because (C) years now up to 2012.
* MJ: removed trailing whitespaces
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
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.bb | 48 |
1 files changed, 48 insertions, 0 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 new file mode 100644 index 0000000000..9da9e957a9 --- /dev/null +++ b/meta-oe/recipes-devtools/lua/lua5.1_5.1.5.bb | |||
| @@ -0,0 +1,48 @@ | |||
| 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 | DEPENDS += "readline" | ||
| 8 | SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \ | ||
| 9 | file://bitwise_operators.patch \ | ||
| 10 | file://lua5.1.pc \ | ||
| 11 | " | ||
| 12 | S = "${WORKDIR}/lua-${PV}" | ||
| 13 | |||
| 14 | inherit pkgconfig binconfig | ||
| 15 | |||
| 16 | UCLIBC_PATCHES += "file://uclibc-pthread.patch" | ||
| 17 | SRC_URI_append_libc-uclibc = "${UCLIBC_PATCHES}" | ||
| 18 | |||
| 19 | TARGET_CC_ARCH += " -fPIC ${LDFLAGS}" | ||
| 20 | EXTRA_OEMAKE = "'CC=${CC} -fPIC' 'MYCFLAGS=${CFLAGS} -DLUA_USE_LINUX -fPIC' MYLDFLAGS='${LDFLAGS}'" | ||
| 21 | |||
| 22 | do_configure_prepend() { | ||
| 23 | sed -i -e s:/usr/local:${prefix}:g src/luaconf.h | ||
| 24 | } | ||
| 25 | |||
| 26 | do_compile () { | ||
| 27 | oe_runmake linux | ||
| 28 | } | ||
| 29 | |||
| 30 | do_install () { | ||
| 31 | oe_runmake \ | ||
| 32 | 'INSTALL_TOP=${D}${prefix}' \ | ||
| 33 | 'INSTALL_BIN=${D}${bindir}' \ | ||
| 34 | 'INSTALL_INC=${D}${includedir}/' \ | ||
| 35 | 'INSTALL_MAN=${D}${mandir}/man1' \ | ||
| 36 | 'INSTALL_SHARE=${D}${datadir}/lua' \ | ||
| 37 | install | ||
| 38 | install -d ${D}${libdir}/pkgconfig | ||
| 39 | install -m 0644 ${WORKDIR}/lua5.1.pc ${D}${libdir}/pkgconfig/lua5.1.pc | ||
| 40 | rmdir ${D}${libdir}/lua/5.1 | ||
| 41 | rmdir ${D}${libdir}/lua | ||
| 42 | rmdir ${D}${datadir}/lua/5.1 | ||
| 43 | rmdir ${D}${datadir}/lua | ||
| 44 | } | ||
| 45 | BBCLASSEXTEND = "native" | ||
| 46 | |||
| 47 | SRC_URI[md5sum] = "2e115fe26e435e33b0d5c022e4490567" | ||
| 48 | SRC_URI[sha256sum] = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333" | ||
