aboutsummaryrefslogtreecommitdiff
path: root/package/lbase64
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2014-01-11 16:42:10 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-01-13 23:18:29 +0100
commit5886f8c339fb0c37de0ba3e991471800906e310e (patch)
tree4e8b78a2ba6fc3a9228bd9a43f7ec77ea5e80bb2 /package/lbase64
parent63058f8b0224298d6f0e8cd50462ad258dab7072 (diff)
downloadbuildroot-5886f8c339fb0c37de0ba3e991471800906e310e.tar.gz
buildroot-5886f8c339fb0c37de0ba3e991471800906e310e.tar.bz2
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>
Diffstat (limited to 'package/lbase64')
-rw-r--r--package/lbase64/lbase64.mk20
1 files changed, 4 insertions, 16 deletions
diff --git a/package/lbase64/lbase64.mk b/package/lbase64/lbase64.mk
index cb8ef17289..4289f58cc4 100644
--- a/package/lbase64/lbase64.mk
+++ b/package/lbase64/lbase64.mk
@@ -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))