mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
d175265410
closes #2953
24 lines
No EOL
476 B
YAML
24 lines
No EOL
476 B
YAML
distributable:
|
|
url: https://zlib.net/zlib-{{version.raw}}.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! |