mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
08f1a2de93
Closes #517
34 lines
No EOL
663 B
YAML
34 lines
No EOL
663 B
YAML
distributable:
|
|
url: https://downloads.sourceforge.net/project/swig/swig/swig-{{version}}/swig-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: swig/swig/tags
|
|
|
|
dependencies:
|
|
pcre.org/v2: '*'
|
|
|
|
runtime:
|
|
env:
|
|
SWIG_LIB: ${{prefix}}/lib
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
script: |
|
|
./configure --prefix="{{prefix}}" --with-swiglibdir={{prefix}}/lib
|
|
make --jobs {{ hw.concurrency }}
|
|
make install
|
|
|
|
provides:
|
|
- bin/swig
|
|
- bin/ccache-swig
|
|
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
ruby-lang.org: ^3
|
|
script: |
|
|
swig -ruby fixture.i
|
|
cc -c -fPIC -fdeclspec fixture.c fixture_wrap.c |