2013-06-17 07:28:09 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# lbase64
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-09-24 09:59:29 +02:00
|
|
|
LBASE64_VERSION = 20120820
|
|
|
|
LBASE64_SITE = http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/5.3
|
|
|
|
LBASE64_SOURCE = lbase64.tar.gz
|
2013-06-17 07:28:09 +02:00
|
|
|
LBASE64_LICENSE = Public domain
|
2017-09-24 09:59:29 +02:00
|
|
|
LBASE64_LICENSE_FILES = README
|
|
|
|
LBASE64_DEPENDENCIES = luainterpreter
|
2013-06-17 07:28:09 +02:00
|
|
|
|
2017-09-24 09:59:29 +02:00
|
|
|
define LBASE64_BUILD_CMDS
|
2017-09-29 18:59:06 +02:00
|
|
|
$(MAKE1) $(TARGET_CONFIGURE_OPTS) \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) so
|
2017-09-24 09:59:29 +02:00
|
|
|
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))
|