2023-03-21 17:19:00 +03:00
|
|
|
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:
|
|
|
|
script: |
|
|
|
|
./configure --prefix="{{prefix}}" --with-swiglibdir={{prefix}}/lib
|
|
|
|
make --jobs {{ hw.concurrency }}
|
|
|
|
make install
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/swig
|
|
|
|
- bin/ccache-swig
|
|
|
|
|
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
ruby-lang.org: ^3
|
|
|
|
script: |
|
|
|
|
swig -ruby fixture.i
|
2023-10-02 03:41:57 +03:00
|
|
|
cc -c -fPIC -fdeclspec fixture.c fixture_wrap.c
|