mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
764fe93aa3
* +minizip * don't build zlib
30 lines
562 B
YAML
30 lines
562 B
YAML
distributable:
|
|
url: https://github.com/madler/zlib/archive/refs/tags/v{{version}}.tar.gz
|
|
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
|