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

21 lines
405 B
YAML

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