Skip to contentSkip to conversation

package/lzlib: switch to another fork

Buildroot Thomas Petazzoni via buildroot 1 participant 1 message Feb 2

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=b9a8f187e029ffeb040327d082dacf1fa373cc7d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

LuaDist and their subprojects are dead

LuaDist was based on CMake, so back to luarocks infrastructure

different tag scheme, but same source (ie. lzlib.c)

this obviously fixes CMake 4 compatibility.

Fixes:

https://autobuild.buildroot.net/results/c86c19a4b8fc4304244e33d4f132fea8e0043e06/

---
 package/lzlib/Config.in  |  3 +--
 package/lzlib/lzlib.hash |  6 ++++--
 package/lzlib/lzlib.mk   | 12 +++++-------
 3 files changed, 10 insertions(+), 11 deletions(-)
package/lzlib/Config.in +1 -2
index 59a2e6d5c9..16dd2c3144 100644
@@ -1,10 +1,9 @@
 config BR2_PACKAGE_LZLIB
 	bool "lzlib"
-	depends on BR2_PACKAGE_LUA
 	select BR2_PACKAGE_ZLIB
 	help
 	  This package provides a library to access zlib library
 	  functions and also to read/write gzip files using an
 	  interface similar to the base io package.
 
-	  https://github.com/LuaDist/lzlib
+	  https://github.com/hishamhm/lzlib
package/lzlib/lzlib.hash +4 -2
index 4bb4c52c8c..61b094f100 100644
@@ -1,3 +1,5 @@
+# computed by luarocks/buildroot
+sha256  860c893fc53d0a7830a54fa64f22a2b89260ca39c9a7dcb0890f6d3029f00ca5  lzlib-0.4.1.53-4.src.rock
+
 # Locally calculated
-sha256  cbb0cac5825e940b4ea2f31a336d2aaf6db39847d456920afd8e443804420dbb  lzlib-0.4.3.tar.gz
-sha256  f817d4a37077e94e9adf379f46ba5cc0b68775d7add2bbd5b2ca68ba140ad5bb  lzlib.c
+sha256  f817d4a37077e94e9adf379f46ba5cc0b68775d7add2bbd5b2ca68ba140ad5bb  lzlib/lzlib.c
package/lzlib/lzlib.mk +5 -7
index 74624d5019..4b869872b2 100644
@@ -4,12 +4,10 @@
 #
 ################################################################################
 
-LZLIB_VERSION = 0.4.3
-LZLIB_SITE = $(call github,LuaDist,lzlib,$(LZLIB_VERSION))
-LZLIB_DEPENDENCIES = lua zlib
+LZLIB_VERSION = 0.4.1.53-4
+LZLIB_SUBDIR = lzlib
 LZLIB_LICENSE = MIT
-LZLIB_LICENSE_FILES = lzlib.c
-LZLIB_CONF_OPTS = -DINSTALL_CMOD="/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" \
-	-DINSTALL_LMOD="/usr/share/lua/$(LUAINTERPRETER_ABIVER)"
+LZLIB_LICENSE_FILES = $(LZLIB_SUBDIR)/lzlib.c
+LZLIB_DEPENDENCIES = zlib
 
-$(eval $(cmake-package))
+$(eval $(luarocks-package))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot