From 8df1d35909ec2d57a6845f5b2c26ee1e83cfd032 Mon Sep 17 00:00:00 2001 From: Woodpecker CI Date: Tue, 3 Jun 2025 14:32:34 +0000 Subject: Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI] --- zlib-ng/.checksum | 2 ++ zlib-ng/.files | 14 ++++++++++++++ zlib-ng/abuild | 12 ++++++++++++ zlib-ng/no-weird-ver.patch | 11 +++++++++++ 4 files changed, 39 insertions(+) create mode 100755 zlib-ng/.checksum create mode 100755 zlib-ng/.files create mode 100755 zlib-ng/abuild create mode 100755 zlib-ng/no-weird-ver.patch (limited to 'zlib-ng') diff --git a/zlib-ng/.checksum b/zlib-ng/.checksum new file mode 100755 index 00000000..cf21b2e8 --- /dev/null +++ b/zlib-ng/.checksum @@ -0,0 +1,2 @@ +1fe12957fb17c50e8cac81629761225f515ba53fbd5067ccc21b49b8935b4ff2 no-weird-ver.patch +cdd0d17c4392838c4b0ae766b062fffbd2db8fa1b2e8054452f196cb731e17de zlib-ng-2.2.4.tar.gz diff --git a/zlib-ng/.files b/zlib-ng/.files new file mode 100755 index 00000000..535ae559 --- /dev/null +++ b/zlib-ng/.files @@ -0,0 +1,14 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/zconf.h +-rw-r--r-- root/root usr/include/zlib.h +-rw-r--r-- root/root usr/include/zlib_name_mangling.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libz.so -> libz.so.1.3.1 +lrwxrwxrwx root/root usr/lib/libz.so.1 -> libz.so.1.3.1 +-rwxr-xr-x root/root usr/lib/libz.so.1.3.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/zlib.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man3/ diff --git a/zlib-ng/abuild b/zlib-ng/abuild new file mode 100755 index 00000000..13ffb4a2 --- /dev/null +++ b/zlib-ng/abuild @@ -0,0 +1,12 @@ +name=zlib-ng +version=2.2.4 +release=1 +source="https://github.com/${name}/${name}/archive/${version}/${name}-${version}.tar.gz + no-weird-ver.patch" + +build() { + ./configure --prefix=/usr --shared --zlib-compat + make + make DESTDIR=$PKG install +} + diff --git a/zlib-ng/no-weird-ver.patch b/zlib-ng/no-weird-ver.patch new file mode 100755 index 00000000..a7a89019 --- /dev/null +++ b/zlib-ng/no-weird-ver.patch @@ -0,0 +1,11 @@ +--- a/configure ++++ b/configure +@@ -290,7 +290,7 @@ if test $compat -eq 0; then + VER2=$(sed -n -e '/ZLIBNG_VERSION "/s/.*"\([0-9]*\.[0-9]*\)\..*/\1/p' < ${SRCDIR}/zlib-ng.h.in) + VER1=$(sed -n -e '/ZLIBNG_VERSION "/s/.*"\([0-9]*\)\..*/\1/p' < ${SRCDIR}/zlib-ng.h.in) + else +- VER=$(sed -n -e '/ZLIB_VERSION "/s/.*"\(.*\)".*/\1/p' < ${SRCDIR}/zlib.h.in) ++ VER=$(sed -n -e '/ZLIB_VERSION "/s/.*"\(.*\).zlib-ng".*/\1/p' < ${SRCDIR}/zlib.h.in) + VER3=$(sed -n -e '/ZLIB_VERSION "/s/.*"\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' < ${SRCDIR}/zlib.h.in) + VER2=$(sed -n -e '/ZLIB_VERSION "/s/.*"\([0-9]*\.[0-9]*\)\..*/\1/p' < ${SRCDIR}/zlib.h.in) + VER1=$(sed -n -e '/ZLIB_VERSION "/s/.*"\([0-9]*\)\..*/\1/p' < ${SRCDIR}/zlib.h.in) -- cgit v1.2.3