swig stable port information

Package: swig
Version: 2.0.4
Revision: 2
#BuildDepends: python25, expat1, guile18, ruby18, tcltk, guile18-dev, ruby18-dev, tcltk-dev, lua51, lua51-dev, ocaml, ocaml-findlib, clisp, mono, octave-atlas | octave
BuildDepends: libpcre1
Depends: libpcre1-shlibs
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 4319c503ee3a13d2a53be9d828c3adc0
License: GPL3+
DocFiles: ANNOUNCE CHANGES* COPYRIGHT LICENSE* README RELEASENOTES TODO
ConfigureParams: --without-alllang

#InfoTest: <<
# TestScript: make check || exit 2
#<<

Description: Tool that connects C, C++ programs with HLL
DescDetail:<<
SWIG is a software development tool that connects programs written in C,
C++, and Objective-C with a variety of high-level programming languages.
SWIG is primarily used with common scripting languages such as Perl,
Python, Tcl/Tk, Ruby, and Guile but has also been extended to include
languages such as Java and Eiffel. SWIG is most commonly used to create
high-level interpreted programming environments and as a tool
for building user interfaces.
<<
DescPackaging: <<
Disabling tests means the languages don't have to be installed for building swig.
Removing builddeps saves tremendous build time.

http://article.gmane.org/gmane.os.apple.fink.devel/16806/match=swig
http://sourceforge.net/mailarchive/message.php?msg_name=487FB6F2.8070207%40fultondesigns.co.uk

Note that while swig itself is GPL, the code it generates can be licensed
to match the code that uses it.

Formerly maintained by Pepe Barbe
<<
Homepage: http://www.swig.org/
Maintainer: Daniel Johnson

swig stable port .patch

diff -ru SWIG-1.3.16/configure SWIG-1.3.16-patched/configure
--- SWIG-1.3.16/configure 2002-10-14 20:33:07.000000000 +0200
+++ SWIG-1.3.16-patched/configure 2002-10-17 13:09:42.000000000 +0200
@@ -21122,7 +21122,7 @@
echo $ECHO_N "checking for Guile library... $ECHO_C" >&6
dirs="$GUILELIB"
for i in $dirs ; do
- if test -r $i/libguile.so; then
+ if test -r $i/libguile.dylib; then
echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6
GUILELIB="$i"
diff -Nurd -x'*~' SWIG-1.3.20.orig/Runtime/Makefile.in SWIG-1.3.20/Runtime/Makefile.in
--- SWIG-1.3.20.orig/Runtime/Makefile.in 2003-12-17 14:11:00.000000000 -0500
+++ SWIG-1.3.20/Runtime/Makefile.in 2005-04-12 01:47:06.000000000 -0400
@@ -317,7 +317,7 @@

libswigpl_la_SOURCES = libpl.c
libswigpl_la_LDFLAGS = @LIBTOOL_NO_UNDEFINED@ $(RELEASE_SUFFIX_LIBTOOL) $(PERL5_DLNK)
-libswigpl_la_CFLAGS = $(PERL5_INCLUDE) -Dbool=char -Dexplicit=$(PERL5_CCFLAGS)
+libswigpl_la_CFLAGS = $(PERL5_INCLUDE) -Dbool=char -Dexplicit="$(PERL5_CCFLAGS)"


# ----------------------------------------------------------------------

swig _unstable_ port .patch