mirror of
https://abf.rosa.ru/djam/swig.git
synced 2025-02-24 09:32:57 +00:00
Build with lua support
This commit is contained in:
parent
74c76778e0
commit
9f160e1fec
1 changed files with 7 additions and 11 deletions
18
swig.spec
18
swig.spec
|
@ -1,11 +1,6 @@
|
|||
%define with_guile 0
|
||||
%{?_with_ruby: %{expand: %%global with_ruby 1}}
|
||||
|
||||
%define with_ocaml 0
|
||||
%{?_with_ocaml: %{expand: %%global with_ocaml 1}}
|
||||
|
||||
%define with_mono 0
|
||||
%{?_with_mono: %{expand: %%global with_mono 1}}
|
||||
%bcond_with guile
|
||||
%bcond_with mono
|
||||
%bcond_with ocaml
|
||||
|
||||
Summary: Simplified Wrapper and Interface Generator (SWIG)
|
||||
Name: swig
|
||||
|
@ -20,20 +15,21 @@ Patch0: swig-3.0.0-pylib.patch
|
|||
BuildRequires: bison
|
||||
BuildRequires: imake
|
||||
BuildRequires: libtool
|
||||
%if %{with_mono}
|
||||
%if %{with mono}
|
||||
BuildRequires: mono
|
||||
BuildRequires: pkgconfig(mono)
|
||||
%endif
|
||||
%if %{with_ocaml}
|
||||
%if %{with ocaml}
|
||||
BuildRequires: ocaml
|
||||
%endif
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: lua-devel
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: php-devel
|
||||
BuildRequires: ruby-devel
|
||||
BuildRequires: tcl-devel
|
||||
%if %{with_guile}
|
||||
%if %{with guile}
|
||||
BuildRequires: pkgconfig(guile-2.0)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libpcre)
|
||||
|
|
Loading…
Add table
Reference in a new issue