diff options
-rw-r--r-- | meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb (renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.2.bb) | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.2.bb b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb index b719b48e09..de3a40bbca 100644 --- a/meta-oe/recipes-devtools/luajit/luajit_2.0.2.bb +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb | |||
@@ -1,14 +1,13 @@ | |||
1 | SUMMARY = "Just-In-Time Compiler for Lua" | 1 | SUMMARY = "Just-In-Time Compiler for Lua" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=1793ef52a5d577794cd886a501a7f861" | 3 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=97b6446bbf9d55616838f821585c5978" |
4 | HOMEPAGE = "http://luajit.org" | 4 | HOMEPAGE = "http://luajit.org" |
5 | 5 | ||
6 | DEPENDS += "lua5.1" | 6 | SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \ |
7 | SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz;name=tarball \ | ||
8 | file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ | 7 | file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ |
9 | " | 8 | " |
10 | SRC_URI[tarball.md5sum] = "112dfb82548b03377fbefbba2e0e3a5b" | 9 | SRC_URI[md5sum] = "f14e9104be513913810cd59c8c658dc0" |
11 | SRC_URI[tarball.sha256sum] = "c05202974a5890e777b181908ac237625b499aece026654d7cc33607e3f46c38" | 10 | SRC_URI[sha256sum] = "55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79" |
12 | 11 | ||
13 | SRC_URI_append_fslmachine = " file://ppc-fixplt.patch " | 12 | SRC_URI_append_fslmachine = " file://ppc-fixplt.patch " |
14 | 13 | ||
@@ -16,6 +15,8 @@ S = "${WORKDIR}/LuaJIT-${PV}" | |||
16 | 15 | ||
17 | inherit pkgconfig binconfig | 16 | inherit pkgconfig binconfig |
18 | 17 | ||
18 | BBCLASSEXTEND = "native" | ||
19 | |||
19 | do_configure_prepend() { | 20 | do_configure_prepend() { |
20 | sed -i -e s:/usr/local:${prefix}:g ${S}/Makefile | 21 | sed -i -e s:/usr/local:${prefix}:g ${S}/Makefile |
21 | sed -i -e s:/lib$:${base_libdir}:g ${S}/Makefile | 22 | sed -i -e s:/lib$:${base_libdir}:g ${S}/Makefile |
@@ -35,9 +36,9 @@ do_compile () { | |||
35 | 36 | ||
36 | do_install () { | 37 | do_install () { |
37 | oe_runmake 'DESTDIR=${D}' install | 38 | oe_runmake 'DESTDIR=${D}' install |
38 | rmdir ${D}${datadir}/lua/5.1 \ | 39 | rmdir ${D}${datadir}/lua/5.* \ |
39 | ${D}${datadir}/lua \ | 40 | ${D}${datadir}/lua \ |
40 | ${D}${libdir}/lua/5.1 \ | 41 | ${D}${libdir}/lua/5.* \ |
41 | ${D}${libdir}/lua | 42 | ${D}${libdir}/lua |
42 | } | 43 | } |
43 | 44 | ||