Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/pkgs/swig:New
Browse files Browse the repository at this point in the history
  • Loading branch information
DRKWang committed Jan 7, 2021
1 parent fa4e4ab commit 30b487f
Show file tree
Hide file tree
Showing 14 changed files with 39 additions and 0 deletions.
18 changes: 18 additions & 0 deletions build/pkgs/swig/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
swig
====

Description
-----------

SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of target languages including common scripting languages such as Javascript, Perl, PHP, Python, Tcl and Ruby. The list of supported languages also includes non-scripting languages such as C#, D, Go language, Java including Android, Lua, OCaml, Octave, Scilab and R. Also several interpreted and compiled Scheme implementations (Guile, MzScheme/Racket) are supported. SWIG is most commonly used to create high-level interpreted or compiled programming environments, user interfaces, and as a tool for testing and prototyping C/C++ software. SWIG is typically used to parse C/C++ interfaces and generate the 'glue code' required for the above target languages to call into the C/C++ code. SWIG can also export its parse tree in the form of XML. SWIG is free software and the code that SWIG generates is compatible with both commercial and non-commercial projects.

License
-------

Various open source licenses: GPL v3+. See file LICENSE in the sources for
details.

Upstream Contact
----------------

http://www.swig.org/
1 change: 1 addition & 0 deletions build/pkgs/swig/distros/alpine.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
swig
1 change: 1 addition & 0 deletions build/pkgs/swig/distros/arch.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
swig
1 change: 1 addition & 0 deletions build/pkgs/swig/distros/debian.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
swig
1 change: 1 addition & 0 deletions build/pkgs/swig/distros/fedora.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
swig
1 change: 1 addition & 0 deletions build/pkgs/swig/distros/freebsd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
devel/swig
1 change: 1 addition & 0 deletions build/pkgs/swig/distros/gentoo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dev-lang/swig
1 change: 1 addition & 0 deletions build/pkgs/swig/distros/homebrew.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
swig
1 change: 1 addition & 0 deletions build/pkgs/swig/distros/nix.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
swig
2 changes: 2 additions & 0 deletions build/pkgs/swig/distros/opensuse.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
swig

1 change: 1 addition & 0 deletions build/pkgs/swig/distros/void.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
swig
4 changes: 4 additions & 0 deletions build/pkgs/swig/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
SAGE_SPKG_CONFIGURE([swig], [
AC_PATH_PROG([SWIG_CREATE_CMAKELISTS], [swig])
AS_IF([test -z "$ac_cv_path_SWIG_CREATE_CMAKELISTS"], [sage_spkg_install_swig=yes])
])
5 changes: 5 additions & 0 deletions build/pkgs/swig/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#! /usr/bin/env bash
echo Error: swig, a prerequisite of cgal_swig_bindings, is not installed.
echo Please install it manually, for example using the system packages
echo recommended by ./configure.
exit 1
1 change: 1 addition & 0 deletions build/pkgs/swig/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
optional

0 comments on commit 30b487f

Please sign in to comment.