2023-05-05 08:07:08 +03:00
|
|
|
distributable:
|
2023-08-18 19:08:22 +03:00
|
|
|
url: https://github.com/madler/zlib/archive/refs/tags/v{{version.raw}}.tar.gz
|
2023-05-05 08:07:08 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: madler/zlib
|
|
|
|
strip: /^v/
|
|
|
|
|
|
|
|
# dependencies:
|
|
|
|
# zlib.net: '*'
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
gnu.org/autoconf: ^2
|
|
|
|
gnu.org/automake: ^1
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
tea.xyz/gx/make: '*'
|
|
|
|
gnu.org/libtool: ^2
|
|
|
|
# zlib.net: '*'
|
|
|
|
script: |
|
|
|
|
cd contrib/minizip
|
|
|
|
autoreconf -fi
|
|
|
|
./configure --prefix={{prefix}}
|
|
|
|
make install
|
|
|
|
|
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
script: |
|
|
|
|
cc test.c -o test -lminizip -lz
|