2022-08-01 22:49:15 +03:00
|
|
|
distributable:
|
2022-09-28 18:14:46 +03:00
|
|
|
url: https://zlib.net/zlib-{{version}}.tar.gz
|
2022-08-01 22:49:15 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: madler/zlib/tags
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/make: '*'
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
script: |
|
2022-09-26 17:56:15 +03:00
|
|
|
./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:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
script: |
|
2022-08-31 22:39:16 +03:00
|
|
|
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!
|