mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03: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,21 +4,9 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LBASE64_VERSION = 20100323
|
||||
LBASE64_SITE = http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.1
|
||||
LBASE64_SOURCE = lbase64.tar.gz
|
||||
LBASE64_VERSION = 20120820-1
|
||||
LBASE64_SUBDIR = base64
|
||||
LBASE64_LICENSE = Public domain
|
||||
LBASE64_LICENSE_FILES = README
|
||||
LBASE64_DEPENDENCIES = luainterpreter
|
||||
LBASE64_LICENSE_FILES = $(LBASE64_SUBDIR)/README
|
||||
|
||||
define LBASE64_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -fPIC" so
|
||||
endef
|
||||
|
||||
define LBASE64_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/base64.so \
|
||||
$(TARGET_DIR)/usr/lib/lua/5.1/base64.so
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(luarocks-package))
|
||||
|
||||
Reference in New Issue
Block a user