package/lzlib: switch to another fork

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/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad
2025-12-20 15:55:42 +01:00
committed by Thomas Petazzoni
parent 6b4381dda2
commit b9a8f187e0
3 changed files with 10 additions and 11 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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))