pantry/projects/zlib.net/minizip/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

28 lines
495 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:
dependencies:
script: |
cc test.c -o test -lminizip -lz