mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 12:15:06 +03:00
22 lines
518 B
YAML
22 lines
518 B
YAML
distributable:
|
|
url: https://github.com/libffi/libffi/releases/download/v{{version}}/libffi-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: libffi/libffi/tags
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
script: |
|
|
./configure --prefix={{prefix}} --disable-debug
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
freedesktop.org/pkg-config: ^0.29
|
|
script: |
|
|
cc -o closure test.c $(pkg-config --libs libffi)
|
|
./closure
|