pantry/projects/zlib.net/package.yml
Max Howell 463ff222dd fix bottle xz/gz versions.txt race
not ideal since S3 uploads are failing so often RN

however ideal sln is complex
2022-10-21 06:15:01 -04:00

24 lines
473 B
YAML

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