mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
lua*: refactor with luarocks infrastructure
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
63058f8b02
commit
5886f8c339
@@ -4,17 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RINGS_VERSION = 1.2.3
|
||||
RINGS_SITE = http://github.com/downloads/keplerproject/rings
|
||||
RINGS_DEPENDENCIES = luainterpreter
|
||||
RINGS_VERSION = 1.2.3-2
|
||||
RINGS_LICENSE = MIT
|
||||
|
||||
define RINGS_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -fPIC"
|
||||
endef
|
||||
|
||||
define RINGS_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) PREFIX="$(TARGET_DIR)/usr" install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(luarocks-package))
|
||||
|
||||
Reference in New Issue
Block a user