4a09e9b54f
This patch introduces the luainterpreter virtual package, which is provided either by 'lua' or by 'lua-jit'. Packages that require a Lua interpreter can then depend on BR2_PACKAGE_LUAINTERPRETER (in their Config.in) and luainterpreter (in their .mk). Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [yann.morin.1998@free.fr: switch to package-defined providers, apply Thomas' comments] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
15 lines
466 B
Makefile
15 lines
466 B
Makefile
################################################################################
|
|
#
|
|
# lua-ev
|
|
#
|
|
################################################################################
|
|
|
|
LUA_EV_VERSION = 458165bdfe0c6eadc788813925f11a0e6a823845
|
|
LUA_EV_SITE = $(call github,brimworks,lua-ev,$(LUA_EV_VERSION))
|
|
LUA_EV_DEPENDENCIES = luainterpreter libev
|
|
LUA_EV_LICENSE = MIT
|
|
LUA_EV_LICENSE_FILES = README
|
|
LUA_EV_CONF_OPT = -DINSTALL_CMOD="/usr/lib/lua"
|
|
|
|
$(eval $(cmake-package))
|