summaryrefslogtreecommitdiff
path: root/packages/lua
diff options
context:
space:
mode:
Diffstat (limited to 'packages/lua')
-rw-r--r--packages/lua/lua-build.inc2
-rw-r--r--packages/lua/lua-native_5.0.2.bb0
-rw-r--r--packages/lua/lua.inc3
-rw-r--r--packages/lua/lua_5.0.2.bb4
4 files changed, 5 insertions, 4 deletions
diff --git a/packages/lua/lua-build.inc b/packages/lua/lua-build.inc
index fed15f1841..0758e611cf 100644
--- a/packages/lua/lua-build.inc
+++ b/packages/lua/lua-build.inc
@@ -25,7 +25,7 @@ do_compile () {
do_stage () {
oe_libinstall -C lib liblua ${STAGING_LIBDIR}/
oe_libinstall -C lib liblualib ${STAGING_LIBDIR}/
- install -m 0644 include/lua.h include/lualib.h ${STAGING_INCDIR}/
+ install -m 0644 include/lua.h include/lualib.h include/lauxlib.h ${STAGING_INCDIR}/
}
do_install () {
diff --git a/packages/lua/lua-native_5.0.2.bb b/packages/lua/lua-native_5.0.2.bb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/lua/lua-native_5.0.2.bb
diff --git a/packages/lua/lua.inc b/packages/lua/lua.inc
index 652491d522..e93fef44b2 100644
--- a/packages/lua/lua.inc
+++ b/packages/lua/lua.inc
@@ -3,7 +3,6 @@ for extending applications."
LICENSE = "MIT"
HOMEPAGE = "http://www.lua.org/"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
-DEPENDS += "readline"
PACKAGES = "${PN} liblua ${PN}-doc liblua-dev \
liblualib liblualib-dev"
@@ -14,7 +13,7 @@ FILES_liblua-dev = "${libdir}/liblua.so ${libdir}/liblua.a \
${includedir}/lua.h"
FILES_liblualib = "${libdir}/liblualib.so.*"
FILES_liblualib-dev = "${libdir}/liblualib.so ${libdir}/liblualib.a \
- ${includedir}/lualib.h"
+ ${includedir}/lualib.h ${includedir}/lauxlib.h"
SECTION_${PN} = "interpreters"
SECTION_${PN}-doc = "doc"
SECTION_liblua = "libs"
diff --git a/packages/lua/lua_5.0.2.bb b/packages/lua/lua_5.0.2.bb
index 05266eba0a..570659af97 100644
--- a/packages/lua/lua_5.0.2.bb
+++ b/packages/lua/lua_5.0.2.bb
@@ -1,6 +1,7 @@
include lua.inc
-PR = "r1"
+DEPENDS += "readline"
+PR = "r3"
SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \
file://debian.patch;patch=1 \
file://make.patch;patch=1 \
@@ -10,3 +11,4 @@ S = "${WORKDIR}/lua-${PV}"
FILESPATH = "${FILE_DIRNAME}/lua-${PV}:${FILE_DIRNAME}/lua:${FILE_DIRNAME}/files"
include lua-build.inc
+inherit binconfig