b722bfc321
luaposix includes a curses binding which is optional and auto-detected by autotools. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
20 lines
589 B
Makefile
20 lines
589 B
Makefile
################################################################################
|
|
#
|
|
# luaposix
|
|
#
|
|
################################################################################
|
|
|
|
LUAPOSIX_VERSION = 31
|
|
LUAPOSIX_SITE = https://github.com/luaposix/luaposix/archive
|
|
LUAPOSIX_SOURCE = release-v$(LUAPOSIX_VERSION).tar.gz
|
|
LUAPOSIX_LICENSE = MIT
|
|
LUAPOSIX_LICENSE_FILES = COPYING
|
|
LUAPOSIX_DEPENDENCIES = lua host-lua
|
|
LUAPOSIX_CONF_OPT = --libdir="/usr/lib/lua" --datarootdir="/usr/share/lua"
|
|
|
|
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
|
LUAPOSIX_DEPENDENCIES += ncurses
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|