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

20 lines
374 B
YAML

distributable:
url: https://zlib.net/zlib-{{version.raw}}.tar.gz
strip-components: 1
versions:
github: madler/zlib/tags
build:
script: |
./configure --prefix="{{prefix}}"
make --jobs {{ hw.concurrency }} install
test:
script: |
cc test.c -lz
OUT=$(echo "$INPUT" | ./a.out | ./a.out -d)
test "$OUT" = "$INPUT"
env:
INPUT: Hello, World!