summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2002-11-05 19:29:05 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2002-11-05 19:29:05 +0000
commitc676ea5558bf9bd02aa9397693de6f3829798b05 (patch)
treec10129ee9a02b59eb7e2862a1cdf2552e5922c3e /dev-lang/swig
parentadded X to DEPEND (diff)
downloadgentoo-2-c676ea5558bf9bd02aa9397693de6f3829798b05.tar.gz
gentoo-2-c676ea5558bf9bd02aa9397693de6f3829798b05.tar.bz2
gentoo-2-c676ea5558bf9bd02aa9397693de6f3829798b05.zip
Version bumps
Diffstat (limited to 'dev-lang/swig')
-rw-r--r--dev-lang/swig/ChangeLog7
-rw-r--r--dev-lang/swig/files/digest-swig-1.3.161
-rw-r--r--dev-lang/swig/swig-1.3.16.ebuild57
3 files changed, 64 insertions, 1 deletions
diff --git a/dev-lang/swig/ChangeLog b/dev-lang/swig/ChangeLog
index eaf9f3f90dbc..7b2e9255b44e 100644
--- a/dev-lang/swig/ChangeLog
+++ b/dev-lang/swig/ChangeLog
@@ -1,6 +1,11 @@
# 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.3 2002/10/18 21:47:16 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/ChangeLog,v 1.4 2002/11/05 19:29:05 aliz Exp $
+
+*swig-1.3.16 (05 Nov 2002)
+
+ 05 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> :
+ Version bump.
*swig-1.3.15 (18 Oct 2002)
diff --git a/dev-lang/swig/files/digest-swig-1.3.16 b/dev-lang/swig/files/digest-swig-1.3.16
new file mode 100644
index 000000000000..c42aef0878b4
--- /dev/null
+++ b/dev-lang/swig/files/digest-swig-1.3.16
@@ -0,0 +1 @@
+MD5 3c7cfeba3e962f74c9f188ea59053378 swig-1.3.16.tar.gz 1415282
diff --git a/dev-lang/swig/swig-1.3.16.ebuild b/dev-lang/swig/swig-1.3.16.ebuild
new file mode 100644
index 000000000000..759bb1c999fd
--- /dev/null
+++ b/dev-lang/swig/swig-1.3.16.ebuild
@@ -0,0 +1,57 @@
+# 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.16.ebuild,v 1.1 2002/11/05 19:29:05 aliz Exp $
+
+IUSE="java guile python tcltk ruby perl"
+
+S=${WORKDIR}/SWIG-${PV}
+DESCRIPTION="Simplied Wrapper and Interface Generator"
+SRC_URI="mirror://sourceforge/swig/${P}.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 )"
+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
+}