pantry/projects/sourceware.org/libffi/package.yml

18 lines
453 B
YAML
Raw Normal View History

2022-08-03 00:47:52 +03:00
distributable:
url: https://github.com/libffi/libffi/releases/download/v{{version}}/libffi-{{version}}.tar.gz
strip-components: 1
versions:
github: libffi/libffi/tags
build:
2024-02-27 01:33:02 +03:00
- ./configure --prefix={{prefix}} --disable-debug
- make --jobs {{ hw.concurrency }} install
2022-08-03 00:47:52 +03:00
test:
dependencies:
freedesktop.org/pkg-config: ^0.29
2024-02-27 01:33:02 +03:00
script:
- cc -o closure test.c $(pkg-config --libs libffi) -Wno-incompatible-pointer-types
- ./closure