mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
zlib: update to 1.3.1
This commit is contained in:
parent
be70d23405
commit
68d6394f28
6 changed files with 30 additions and 30 deletions
31
steps/zlib-1.3.1/pass1.sh
Executable file
31
steps/zlib-1.3.1/pass1.sh
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm zlib.3.pdf \
|
||||
doc/crc-doc.1.0.pdf \
|
||||
contrib/puff/zeros.raw \
|
||||
contrib/blast/test.pk \
|
||||
contrib/dotzlib/DotZLib.chm
|
||||
|
||||
rm crc32.h
|
||||
gcc -DMAKECRCH crc32.c -o gen_crc32h
|
||||
./gen_crc32h
|
||||
|
||||
echo "void makefixed(void); int main() { makefixed(); }" > makefixed_main.c
|
||||
gcc -DMAKEFIXED inflate.c crc32.c zutil.c inftrees.c \
|
||||
adler32.c inffast.c makefixed_main.c -o gen_inffixedh
|
||||
./gen_inffixedh > inffixed.h
|
||||
|
||||
echo "void makefixed9(void); int main() { makefixed9(); }" > makefixed9_main.c
|
||||
gcc -DMAKEFIXED -I. contrib/infback9/infback9.c zutil.c \
|
||||
contrib/infback9/inftree9.c makefixed9_main.c -o gen_inffix9h
|
||||
./gen_inffix9h > contrib/infback9/inffix9.h
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}" --libdir="${LIBDIR}" --static
|
||||
}
|
||||
1
steps/zlib-1.3.1/sources
Normal file
1
steps/zlib-1.3.1/sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
f https://zlib.net/fossils/zlib-1.3.1.tar.gz 9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23
|
||||
Loading…
Add table
Add a link
Reference in a new issue