mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
1a0a2f104c
* first attempt * use gcc on linux --------- Co-authored-by: Max Howell <mxcl@me.com>
25 lines
No EOL
516 B
YAML
25 lines
No EOL
516 B
YAML
distributable:
|
|
url: https://github.com/akheron/jansson/releases/download/v{{ version.raw }}/jansson-{{ version.raw }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: akheron/jansson/tags
|
|
strip: /^v/
|
|
|
|
build:
|
|
dependencies:
|
|
linux:
|
|
gnu.org/gcc: '*'
|
|
darwin:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
script: |
|
|
./configure --prefix="{{prefix}}"
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
script: |
|
|
cc fixture.c -ljansson
|
|
./a.out |