diff options
| author | Linux User <emmett@vmi2195005.contaboserver.net> | 2025-04-14 01:35:12 +0000 |
|---|---|---|
| committer | Linux User <emmett@vmi2195005.contaboserver.net> | 2025-04-14 01:35:12 +0000 |
| commit | 595101c9e63eae025157878b14577acb3fef0b3b (patch) | |
| tree | 9878022974c9d8b274c999d693e466b23cfb2fdd /repos/core/zlib-ng | |
| parent | 73d7a925b4ad5bb64b17506acdf1600a12d55d47 (diff) | |
| download | alicelinux-595101c9e63eae025157878b14577acb3fef0b3b.tar.gz alicelinux-595101c9e63eae025157878b14577acb3fef0b3b.zip | |
clang repos migrated to main
Diffstat (limited to 'repos/core/zlib-ng')
| -rwxr-xr-x | repos/core/zlib-ng/.checksum | 2 | ||||
| -rwxr-xr-x | repos/core/zlib-ng/.files | 14 | ||||
| -rwxr-xr-x | repos/core/zlib-ng/abuild | 12 | ||||
| -rwxr-xr-x | repos/core/zlib-ng/no-weird-ver.patch | 11 |
4 files changed, 39 insertions, 0 deletions
diff --git a/repos/core/zlib-ng/.checksum b/repos/core/zlib-ng/.checksum new file mode 100755 index 00000000..cf21b2e8 --- /dev/null +++ b/repos/core/zlib-ng/.checksum @@ -0,0 +1,2 @@ +1fe12957fb17c50e8cac81629761225f515ba53fbd5067ccc21b49b8935b4ff2 no-weird-ver.patch +cdd0d17c4392838c4b0ae766b062fffbd2db8fa1b2e8054452f196cb731e17de zlib-ng-2.2.4.tar.gz diff --git a/repos/core/zlib-ng/.files b/repos/core/zlib-ng/.files new file mode 100755 index 00000000..535ae559 --- /dev/null +++ b/repos/core/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/repos/core/zlib-ng/abuild b/repos/core/zlib-ng/abuild new file mode 100755 index 00000000..13ffb4a2 --- /dev/null +++ b/repos/core/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/repos/core/zlib-ng/no-weird-ver.patch b/repos/core/zlib-ng/no-weird-ver.patch new file mode 100755 index 00000000..a7a89019 --- /dev/null +++ b/repos/core/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) |