pantry/projects/zlib.net/package.yml

20 lines
374 B
YAML
Raw Normal View History

2022-08-01 22:49:15 +03:00
distributable:
2023-08-18 19:09:33 +03:00
url: https://zlib.net/zlib-{{version.raw}}.tar.gz
2022-08-01 22:49:15 +03:00
strip-components: 1
versions:
github: madler/zlib/tags
build:
script: |
./configure --prefix="{{prefix}}"
2022-09-29 02:19:56 +03:00
make --jobs {{ hw.concurrency }} install
2022-08-01 22:49:15 +03:00
test:
script: |
cc test.c -lz
2022-08-01 22:49:15 +03:00
OUT=$(echo "$INPUT" | ./a.out | ./a.out -d)
test "$OUT" = "$INPUT"
env:
INPUT: Hello, World!