luarocks: bump to version 3.0.0
authorFrancois Perrad <fperrad@gmail.com>
Sat, 21 Jul 2018 06:49:30 +0000 (08:49 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 25 Jul 2018 21:29:12 +0000 (23:29 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/luarocks/luarocks.hash
package/luarocks/luarocks.mk

index 7c3f96606fd885e509fadc21565ec5caec852d7f..87ef6827c6788fff2a1009e71d0e3f32bedfe569 100644 (file)
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256 3938df33de33752ff2c526e604410af3dceb4b7ff06a770bc4a240de80a1f934  luarocks-2.4.4.tar.gz
+sha256 a43fffb997100f11cccb529a3db5456ce8dab18171a5cb3645f948147b6f64a1  luarocks-3.0.0.tar.gz
index 63d908a416fe6a07c90c231c3afcd51f00e1273a..cd4be266cfa25a62b870c2417051c35f5f5474f1 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LUAROCKS_VERSION = 2.4.4
+LUAROCKS_VERSION = 3.0.0
 LUAROCKS_SITE = http://luarocks.org/releases
 LUAROCKS_LICENSE = MIT
 LUAROCKS_LICENSE_FILES = COPYING
@@ -29,22 +29,21 @@ endef
 
 define HOST_LUAROCKS_INSTALL_CMDS
        rm -f $(LUAROCKS_CONFIG_FILE)
-       $(MAKE1) -C $(@D) install \
-               PREFIX=$(HOST_DIR)
-       echo "-- BR cross-compilation"                          >> $(LUAROCKS_CONFIG_FILE)
-       echo "variables = {"                                    >> $(LUAROCKS_CONFIG_FILE)
-       echo "   LUA_INCDIR = [[$(STAGING_DIR)/usr/include]],"  >> $(LUAROCKS_CONFIG_FILE)
-       echo "   LUA_LIBDIR = [[$(STAGING_DIR)/usr/lib]],"      >> $(LUAROCKS_CONFIG_FILE)
-       echo "   CC = [[$(TARGET_CC)]],"                        >> $(LUAROCKS_CONFIG_FILE)
-       echo "   LD = [[$(TARGET_CC)]],"                        >> $(LUAROCKS_CONFIG_FILE)
-       echo "   CFLAGS = [[$(LUAROCKS_CFLAGS)]],"              >> $(LUAROCKS_CONFIG_FILE)
-       echo "   LIBFLAG = [[-shared $(TARGET_LDFLAGS)]],"      >> $(LUAROCKS_CONFIG_FILE)
-       echo "}"                                                >> $(LUAROCKS_CONFIG_FILE)
-       echo "external_deps_dirs = { [[$(STAGING_DIR)/usr]] }"  >> $(LUAROCKS_CONFIG_FILE)
-       echo "gcc_rpath = false"                                >> $(LUAROCKS_CONFIG_FILE)
-       echo "rocks_trees = { [[$(TARGET_DIR)/usr]] }"          >> $(LUAROCKS_CONFIG_FILE)
-       echo "wrap_bin_scripts = false"                         >> $(LUAROCKS_CONFIG_FILE)
-       echo "deps_mode = [[none]]"                             >> $(LUAROCKS_CONFIG_FILE)
+       $(MAKE1) -C $(@D) install
+       echo "-- BR cross-compilation"                                  >> $(LUAROCKS_CONFIG_FILE)
+       echo "variables.LUA_DIR = [[$(STAGING_DIR)/usr]]"               >> $(LUAROCKS_CONFIG_FILE)
+       echo "variables.LUA_BINDIR = [[$(STAGING_DIR)/usr/bin]]"        >> $(LUAROCKS_CONFIG_FILE)
+       echo "variables.LUA_INCDIR = [[$(STAGING_DIR)/usr/include]]"    >> $(LUAROCKS_CONFIG_FILE)
+       echo "variables.LUA_LIBDIR = [[$(STAGING_DIR)/usr/lib]]"        >> $(LUAROCKS_CONFIG_FILE)
+       echo "variables.CC = [[$(TARGET_CC)]]"                          >> $(LUAROCKS_CONFIG_FILE)
+       echo "variables.LD = [[$(TARGET_CC)]]"                          >> $(LUAROCKS_CONFIG_FILE)
+       echo "variables.CFLAGS = [[$(LUAROCKS_CFLAGS)]]"                >> $(LUAROCKS_CONFIG_FILE)
+       echo "variables.LIBFLAG = [[-shared $(TARGET_LDFLAGS)]]"        >> $(LUAROCKS_CONFIG_FILE)
+       echo "external_deps_dirs = { [[$(STAGING_DIR)/usr]] }"          >> $(LUAROCKS_CONFIG_FILE)
+       echo "gcc_rpath = false"                                        >> $(LUAROCKS_CONFIG_FILE)
+       echo "rocks_trees = { [[$(TARGET_DIR)/usr]] }"                  >> $(LUAROCKS_CONFIG_FILE)
+       echo "wrap_bin_scripts = false"                                 >> $(LUAROCKS_CONFIG_FILE)
+       echo "deps_mode = [[none]]"                                     >> $(LUAROCKS_CONFIG_FILE)
 endef
 
 $(eval $(host-generic-package))