Fixes #8457.
authorKarl Trygve Kalleberg <karltk@gentoo.org>
Fri, 18 Oct 2002 21:47:16 +0000 (21:47 +0000)
committerKarl Trygve Kalleberg <karltk@gentoo.org>
Fri, 18 Oct 2002 21:47:16 +0000 (21:47 +0000)
dev-lang/swig/ChangeLog
dev-lang/swig/files/digest-swig-1.3.15 [new file with mode: 0644]
dev-lang/swig/files/digest-swig-1.3_alpha5-r2 [deleted file]
dev-lang/swig/swig-1.3.15.ebuild [new file with mode: 0644]

index 0bafe070b9d9341fc51a476413aa327dc90022ec..eaf9f3f90dbc206398b0b494c384433c79b180fd 100644 (file)
@@ -1,17 +1,19 @@
 # ChangeLog for dev-lang/swig
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/ChangeLog,v 1.2 2002/02/21 20:12:16 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/ChangeLog,v 1.3 2002/10/18 21:47:16 karltk Exp $
 
-  21 Feb 2002; M.Schlemmer <azarah@gentoo.org> swig-1.3.10-r2.ebuild :
+*swig-1.3.15 (18 Oct 2002)
+
+  18 Oct 2002; Karl Trygve Kalleberg <karltk@gentoo.org> swig-1.3.15.ebuild files/digest-swig-1.3.15 :
+  New upstream version. Fixes #8457.
 
+*swig-1.3.10-r2 (1 Feb 2002)
+
+  21 Feb 2002; M.Schlemmer <azarah@gentoo.org> swig-1.3.10-r2.ebuild :
   Fix a unterminating loop with ruby in USE and ruby-1.6.6 installed.
 
 *swig-1.3.10-r1 (1 Feb 2002)
 
   1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
   
-  Added initial ChangeLog which should be updated whenever the package is
-  updated in any way. This changelog is targetted to users. This means that the
-  comments should well explained and written in clean English. The details about
-  writing correct changelogs are explained in the skel.ChangeLog file which you
-  can find in the root directory of the portage repository.
+  Added initial ChangeLog.
diff --git a/dev-lang/swig/files/digest-swig-1.3.15 b/dev-lang/swig/files/digest-swig-1.3.15
new file mode 100644 (file)
index 0000000..0d722ff
--- /dev/null
@@ -0,0 +1 @@
+MD5 01ed935dddd683a2ae2fa8976c4dc8d8 swig-1.3.15.tar.gz 1405531
diff --git a/dev-lang/swig/files/digest-swig-1.3_alpha5-r2 b/dev-lang/swig/files/digest-swig-1.3_alpha5-r2
deleted file mode 100644 (file)
index 8bea337..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 96249f9614ae31d328661d0e3d9cd615 swig1.3a5.tar.gz 598628
diff --git a/dev-lang/swig/swig-1.3.15.ebuild b/dev-lang/swig/swig-1.3.15.ebuild
new file mode 100644 (file)
index 0000000..ff6697c
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright 2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.15.ebuild,v 1.1 2002/10/18 21:47:16 karltk Exp $
+
+IUSE="java guile python tcltk ruby perl"
+
+S=${WORKDIR}/SWIG-${PV}
+DESCRIPTION="Simplied Wrapper and Interface Generator"
+SRC_URI="http://telia.dl.sourceforge.net/swig/swig-${PV}.tar.gz"
+HOMEPAGE="http://www.swig.org"
+DEPEND="virtual/glibc
+       >=sys-devel/gcc-2.95.2
+       python? ( >=dev-lang/python-2.0 )
+       java? ( virtual/jdk )
+       ruby? ( >=dev-lang/ruby-1.6.1 )
+       guile? ( >=dev-util/guile-1.4 )
+       tcltk? ( >=dev-lang/tk-8.3 )
+       perl? ( >=sys-devel/perl-5.6.1 )"
+RDEPEND="${DEPEND}"
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+
+src_compile() {
+       local myc
+
+       use python && myc="$myc --with-py" \
+                  || myc="$myc --without-py"
+       use java && myc="$myc --with-java=$JAVA_HOME --with-javaincl=${JAVA_HOME}/include" \
+                || myc="$myc --without-java"
+       use ruby && myc="$myc --with-ruby=/usr/bin/ruby" \
+                || myc="$myc --without-ruby"
+       use guile && myc="$myc --with-guile" \
+                 || myc="$myc --without-guile"
+       use tcltk && myc="$myc --with-tcl" \
+                 || myc="$myc --without-tcl"
+       use perl && myc="$myc --with-perl" \
+                || myc="$myc --without-perl"
+       
+       unset CXXFLAGS
+       unset CFLAGS
+
+       use ruby && local rubyver="`ruby --version | cut -d '.' -f 1,2`"
+       use ruby && RUBY="/usr/lib/ruby/${rubyver/ruby /}/"
+       
+       ./configure \
+               --host=${CHOST} \
+               --prefix=/usr \
+               --infodir=/usr/share/info \
+               --mandir=/usr/share/man \
+               $myc || die "./configure failed"
+
+       make || die
+}
+
+src_install () {
+       make prefix=${D}/usr install || die
+}