diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-10-18 21:47:16 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-10-18 21:47:16 +0000 |
commit | b4962bed2831478776fd695a05c1b48d7ec6f967 (patch) | |
tree | 9d8e2d9a803c3a2a337544b97975445e5d76f589 /dev-lang/swig | |
parent | Added IUSE (diff) | |
download | gentoo-2-b4962bed2831478776fd695a05c1b48d7ec6f967.tar.gz gentoo-2-b4962bed2831478776fd695a05c1b48d7ec6f967.tar.bz2 gentoo-2-b4962bed2831478776fd695a05c1b48d7ec6f967.zip |
Fixes #8457.
Diffstat (limited to 'dev-lang/swig')
-rw-r--r-- | dev-lang/swig/ChangeLog | 16 | ||||
-rw-r--r-- | dev-lang/swig/files/digest-swig-1.3.15 | 1 | ||||
-rw-r--r-- | dev-lang/swig/files/digest-swig-1.3_alpha5-r2 | 1 | ||||
-rw-r--r-- | dev-lang/swig/swig-1.3.15.ebuild | 58 |
4 files changed, 68 insertions, 8 deletions
diff --git a/dev-lang/swig/ChangeLog b/dev-lang/swig/ChangeLog index 0bafe070b9d9..eaf9f3f90dbc 100644 --- a/dev-lang/swig/ChangeLog +++ b/dev-lang/swig/ChangeLog @@ -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 index 000000000000..0d722ffe7798 --- /dev/null +++ b/dev-lang/swig/files/digest-swig-1.3.15 @@ -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 index 8bea33701d68..000000000000 --- a/dev-lang/swig/files/digest-swig-1.3_alpha5-r2 +++ /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 index 000000000000..ff6697c47249 --- /dev/null +++ b/dev-lang/swig/swig-1.3.15.ebuild @@ -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 +} |