summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-01-14 10:42:37 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-01-14 10:42:37 +0000
commit007be184a1a1d52fbec7100617947ce2d092a811 (patch)
tree81b5fb7845b2557cbe5056571298a8621b6839b7 /dev-lang/swig
parentscrollkeeper fixes, removed old (diff)
downloadhistorical-007be184a1a1d52fbec7100617947ce2d092a811.tar.gz
historical-007be184a1a1d52fbec7100617947ce2d092a811.tar.bz2
historical-007be184a1a1d52fbec7100617947ce2d092a811.zip
SWIG 1.3.10
Diffstat (limited to 'dev-lang/swig')
-rw-r--r--dev-lang/swig/swig-1.3.10.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-lang/swig/swig-1.3.10.ebuild b/dev-lang/swig/swig-1.3.10.ebuild
new file mode 100644
index 000000000000..0abd54f1a919
--- /dev/null
+++ b/dev-lang/swig/swig-1.3.10.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Tools Team <tools@gentoo.org>
+# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.10.ebuild,v 1.1 2002/01/14 10:42:37 karltk Exp $
+
+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/tcl-tk-8.3 )
+ perl? ( >=sys-devel/perl-5.6.1 )"
+
+RDEPEND=""
+
+src_compile() {
+ local myc
+
+ use python && myc="$myc --with-py" || myc="$myc --without-py"
+ use java && myc="$myc --with-java=$JAVA_HOME" || myc="$myc --without-java"
+ use ruby && myc="$myc --with-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
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ $myconf || die "./configure failed"
+
+ make || die
+}
+
+src_install () {
+ make prefix=${D}/usr install || die
+}