pantry/projects/zlib.net/package.yml

27 lines
485 B
YAML
Raw Normal View History

2022-08-01 22:49:15 +03:00
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 }}
make install
test:
dependencies:
tea.xyz/gx/cc: c99
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:
2022-09-08 23:40:35 +03:00
INPUT: Hello, World!
2022-09-20 02:19:31 +03:00