summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-12-24 10:10:40 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-24 12:00:51 +0100
commitfdca0dda1d7f91d2af0467f04c812af944a86cb7 (patch)
tree261dd893921f32c61c1da9ef26651915e0224709
parentaeb3f480c69e93b4ad2af6a172a0c554e4c67092 (diff)
luaposix: bump to version 33.0.0
ncurses becomes a mandatory dependency Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/luaposix/Config.in1
-rw-r--r--package/luaposix/luaposix.mk8
2 files changed, 3 insertions, 6 deletions
diff --git a/package/luaposix/Config.in b/package/luaposix/Config.in
index 04269fbf4..a40c3f9bf 100644
--- a/package/luaposix/Config.in
+++ b/package/luaposix/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_LUAPOSIX
bool "luaposix"
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
+ select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_LUABITOP if BR2_PACKAGE_LUA_5_1
# LuaBitOp is already included in LuaJIT
help
diff --git a/package/luaposix/luaposix.mk b/package/luaposix/luaposix.mk
index a723a50a1..5d4147203 100644
--- a/package/luaposix/luaposix.mk
+++ b/package/luaposix/luaposix.mk
@@ -4,15 +4,11 @@
#
################################################################################
-LUAPOSIX_VERSION = 32
+LUAPOSIX_VERSION = 33.0.0
LUAPOSIX_SITE = $(call github,luaposix,luaposix,release-v$(LUAPOSIX_VERSION))
LUAPOSIX_LICENSE = MIT
LUAPOSIX_LICENSE_FILES = COPYING
-LUAPOSIX_DEPENDENCIES = luainterpreter host-lua
+LUAPOSIX_DEPENDENCIES = luainterpreter host-lua ncurses
LUAPOSIX_CONF_OPTS = --libdir="/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" --datarootdir="/usr/share/lua/$(LUAINTERPRETER_ABIVER)"
-ifeq ($(BR2_PACKAGE_NCURSES),y)
-LUAPOSIX_DEPENDENCIES += ncurses
-endif
-
$(eval $(autotools-package))