diff options
author | 2001-04-28 20:41:29 +0000 | |
---|---|---|
committer | 2001-04-28 20:41:29 +0000 | |
commit | 7e8bdf856d9fe7cc8ab3e446b7dca48259333e0a (patch) | |
tree | 5babd43f44c9010976ca86b7693a67c3bb0c2833 /dev-lang/swig | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-7e8bdf856d9fe7cc8ab3e446b7dca48259333e0a.tar.gz gentoo-2-7e8bdf856d9fe7cc8ab3e446b7dca48259333e0a.tar.bz2 gentoo-2-7e8bdf856d9fe7cc8ab3e446b7dca48259333e0a.zip |
Added USE perl,pythoin,guile,ruby,java,tcltk
Diffstat (limited to 'dev-lang/swig')
-rw-r--r-- | dev-lang/swig/files/digest-swig-1.3_alpha5-r2 | 1 | ||||
-rw-r--r-- | dev-lang/swig/swig-1.3_alpha5-r2.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-lang/swig/files/digest-swig-1.3_alpha5-r2 b/dev-lang/swig/files/digest-swig-1.3_alpha5-r2 new file mode 100644 index 000000000000..2a99f66b322b --- /dev/null +++ b/dev-lang/swig/files/digest-swig-1.3_alpha5-r2 @@ -0,0 +1 @@ +MD5 96249f9614ae31d328661d0e3d9cd615 swig1.3a5.tar.gz diff --git a/dev-lang/swig/swig-1.3_alpha5-r2.ebuild b/dev-lang/swig/swig-1.3_alpha5-r2.ebuild new file mode 100644 index 000000000000..3c49bdce2db0 --- /dev/null +++ b/dev-lang/swig/swig-1.3_alpha5-r2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3_alpha5-r2.ebuild,v 1.1 2001/04/28 20:41:29 achim Exp $ + +P=swig1.3a5 +A=${P}.tar.gz +S=${WORKDIR}/SWIG1.3a5 +DESCRIPTION="Simplified wrapper and interface generator" +SRC_URI="http://download.sourceforge.net/swig/${A}" +HOMEPAGE="http://www.swig.org" + +DEPEND="virtual/glibc >=sys-devel/gcc-2.95.2 + python? ( >=dev-lang/python-2.0 ) + java? ( >=dev-lang/jdk-1.3 ) + ruby? ( >=dev-lang/ruby-1.6.1 ) + guile? ( >=dev-util/guile-1.4 ) + tcltk? ( >=dev-lang/tcl-tk-8.1.1 ) + perl? ( >=sys-devel/perl-5.6.1 )" + +src_compile() { + + local myconf + if [ "`use python`" ] ; then + myconf="--with-py" + else + myconf="--without-py" + fi + if [ "`use java`" ] ; then + myconf="$myconf --with-java" + else + myconf="$myconf --without-java" + fi + if [ -z "`use ruby`" ] ; then + myconf="$myconf --without-ruby" + fi + if [ "`use guile`" ] ; then + myconf="$myconf --with-guile" + else + myconf="$myconf --without-guile" + fi + if [ "`use tcltk`" ] ; then + myconf="$myconf --with-tcl --with-tcllib=/usr/lib/tcl-8.1" + else + myconf="$myconf --without-tcltk" + fi + if [ "`use perl`" ] + then + myconf="$myconf --with-perl" + else + myconf="$myconf --without-perl" + fi + unset CXXFLAGS + unset CFLAGS + try ./configure --prefix=/usr --host=${CHOST} \ + --with-doc=html $myconf + try make + +} + +src_install () { + + try make prefix=${D}/usr install + +} + |