2013-06-20 06:40:50 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# luaposix
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-07-21 18:25:40 +02:00
|
|
|
LUAPOSIX_VERSION = 32
|
2014-10-12 18:23:53 +02:00
|
|
|
LUAPOSIX_SITE = $(call github,luaposix,luaposix,release-v$(LUAPOSIX_VERSION))
|
2013-06-20 06:40:50 +02:00
|
|
|
LUAPOSIX_LICENSE = MIT
|
|
|
|
LUAPOSIX_LICENSE_FILES = COPYING
|
2014-01-11 16:42:03 +01:00
|
|
|
LUAPOSIX_DEPENDENCIES = luainterpreter host-lua
|
2014-09-27 21:32:44 +02:00
|
|
|
LUAPOSIX_CONF_OPTS = --libdir="/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" --datarootdir="/usr/share/lua/$(LUAINTERPRETER_ABIVER)"
|
2013-06-20 06:40:50 +02:00
|
|
|
|
2013-09-19 08:31:39 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
2014-10-25 08:20:44 +02:00
|
|
|
LUAPOSIX_DEPENDENCIES += ncurses
|
2013-09-19 08:31:39 +02:00
|
|
|
endif
|
|
|
|
|
2013-06-20 06:40:50 +02:00
|
|
|
$(eval $(autotools-package))
|