pantry/projects/zlib.net/minizip/package.yml
2023-10-01 20:41:57 -04:00

25 lines
463 B
YAML

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