diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2003-12-26 13:54:07 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2003-12-26 13:54:07 +0000 |
commit | 191004fd8f02b5d1685b9f9a545e1e4c3462e1a4 (patch) | |
tree | f6143ee7e03a668b9877dcc51e26c258c4d6f8a3 /dev-lang | |
parent | bversion bump (diff) | |
download | historical-191004fd8f02b5d1685b9f9a545e1e4c3462e1a4.tar.gz historical-191004fd8f02b5d1685b9f9a545e1e4c3462e1a4.tar.bz2 historical-191004fd8f02b5d1685b9f9a545e1e4c3462e1a4.zip |
bversion bump
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/swig/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/swig/files/digest-swig-1.3.20 | 1 | ||||
-rw-r--r-- | dev-lang/swig/swig-1.3.20.ebuild | 57 |
3 files changed, 60 insertions, 2 deletions
diff --git a/dev-lang/swig/Manifest b/dev-lang/swig/Manifest index a4a16caba4c5..3e523654817d 100644 --- a/dev-lang/swig/Manifest +++ b/dev-lang/swig/Manifest @@ -1,8 +1,8 @@ MD5 32d54a63bf2f364fced0b8715db8a21b swig-1.3.16.ebuild 1608 MD5 f2a098397453a371a95e355658867ba7 swig-1.3.10-r2.ebuild 1605 MD5 3e2afb6ed8c45637c7d4816d30d2c9da swig-1.3.19.ebuild 1620 -MD5 83752b797f8292c55dd43cbd0807d83f ChangeLog 2180 -MD5 480d69e65616bbc69f05ae322fba4f0d swig-1.3.20.ebuild 1624 +MD5 0ec0eb385092a64b2e7ca8ad2e21b521 ChangeLog 2287 +MD5 18f2169b4082a3998949416e0e96b923 swig-1.3.20.ebuild 1624 MD5 112f5666e814c001c3e20676cca7e4ba files/digest-swig-1.3.16 64 MD5 145b12403f0df909833a0d238562c324 files/digest-swig-1.3.19 64 MD5 7c74e4784e64ec061994c10051aa24c8 files/digest-swig-1.3.20 64 diff --git a/dev-lang/swig/files/digest-swig-1.3.20 b/dev-lang/swig/files/digest-swig-1.3.20 new file mode 100644 index 000000000000..8288aa5c78ab --- /dev/null +++ b/dev-lang/swig/files/digest-swig-1.3.20 @@ -0,0 +1 @@ +MD5 aac11adef9f9709a75b9b0f676808d5f swig-1.3.20.tar.gz 2014317 diff --git a/dev-lang/swig/swig-1.3.20.ebuild b/dev-lang/swig/swig-1.3.20.ebuild new file mode 100644 index 000000000000..5156f68a03ca --- /dev/null +++ b/dev-lang/swig/swig-1.3.20.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2003 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.20.ebuild,v 1.1 2003/12/26 13:53:52 lanius Exp $ + +IUSE="java guile python tcltk ruby perl" + +S=${WORKDIR}/SWIG-${PV} +DESCRIPTION="Simplied Wrapper and Interface Generator" +SRC_URI="mirror://sourceforge/${PN}/${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? ( >=dev-lang/perl-5.6.1 )" +SLOT="0" +LICENSE="as-is" +KEYWORDS="~alpha ~arm ~hppa ~mips ~sparc ~x86 ~amd64" + +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 +} |