258d3cda3b
The author of lbase64 maintains 3 separate versions of the package for the 3 Lua versions. Only the 5.1 version is uploaded to luarocks, so that is the one we currently support in Buildroot. However, the three versions are nearly identical. With a small patch, this allows us to support all Lua versions from a single tarball. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
24 lines
660 B
Makefile
24 lines
660 B
Makefile
################################################################################
|
|
#
|
|
# lbase64
|
|
#
|
|
################################################################################
|
|
|
|
LBASE64_VERSION = 20120820
|
|
LBASE64_SITE = http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/5.3
|
|
LBASE64_SOURCE = lbase64.tar.gz
|
|
LBASE64_LICENSE = Public domain
|
|
LBASE64_LICENSE_FILES = README
|
|
LBASE64_DEPENDENCIES = luainterpreter
|
|
|
|
define LBASE64_BUILD_CMDS
|
|
$(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) so
|
|
endef
|
|
|
|
define LBASE64_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/base64.so \
|
|
$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)/base64.so
|
|
endef
|
|
|
|
$(eval $(generic-package))
|