diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2008-04-08 11:03:40 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2008-04-08 11:03:40 +0000 |
commit | c0bd81fc555a60973250112315b07fb223cf459f (patch) | |
tree | 45f12ba6fe1a3ff0f465ec1356b14174accbcb05 /dev-lang/swig | |
parent | add octave local swig use flag (diff) | |
download | gentoo-2-c0bd81fc555a60973250112315b07fb223cf459f.tar.gz gentoo-2-c0bd81fc555a60973250112315b07fb223cf459f.tar.bz2 gentoo-2-c0bd81fc555a60973250112315b07fb223cf459f.zip |
bump, adds octave support
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'dev-lang/swig')
-rw-r--r-- | dev-lang/swig/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/swig/swig-1.3.35.ebuild | 74 |
2 files changed, 80 insertions, 1 deletions
diff --git a/dev-lang/swig/ChangeLog b/dev-lang/swig/ChangeLog index 1192e5044bc5..e97a1a79580c 100644 --- a/dev-lang/swig/ChangeLog +++ b/dev-lang/swig/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/swig # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/ChangeLog,v 1.107 2008/03/11 05:10:55 ricmm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/ChangeLog,v 1.108 2008/04/08 11:03:40 hkbst Exp $ + +*swig-1.3.35 (08 Apr 2008) + + 08 Apr 2008; Marijn Schouten <hkBst@gentoo.org> +swig-1.3.35.ebuild: + bump, adds octave support 11 Mar 2008; <ricmm@gentoo.org> swig-1.3.21.ebuild, swig-1.3.25.ebuild, swig-1.3.31.ebuild: diff --git a/dev-lang/swig/swig-1.3.35.ebuild b/dev-lang/swig/swig-1.3.35.ebuild new file mode 100644 index 000000000000..03124a698312 --- /dev/null +++ b/dev-lang/swig/swig-1.3.35.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.35.ebuild,v 1.1 2008/04/08 11:03:40 hkbst Exp $ + +inherit flag-o-matic mono eutils #48511 + +DESCRIPTION="Simplified Wrapper and Interface Generator" +HOMEPAGE="http://www.swig.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" # ~hppa ~ia64 ~x86-fbsd +IUSE="chicken clisp doc guile java lua mono mzscheme ocaml octave perl php pike python R ruby tcl tk" #gcj +RESTRICT="test" + +DEPEND=" +chicken? ( dev-scheme/chicken ) +clisp? ( dev-lisp/clisp ) +guile? ( dev-scheme/guile ) +java? ( virtual/jdk ) +lua? ( dev-lang/lua ) +mono? ( dev-lang/mono ) +mzscheme? ( dev-scheme/drscheme ) +perl? ( dev-lang/perl ) +php? ( virtual/php ) +pike? ( dev-lang/pike ) +python? ( virtual/python ) +R? ( dev-lang/R ) +ocaml? ( dev-lang/ocaml ) +octave? ( sci-mathematics/octave ) +ruby? ( virtual/ruby ) +tcl? ( dev-lang/tcl ) +tk? ( dev-lang/tk ) +" +# gcj? ( sys-devel/gcc[+gcj] ) + +src_compile() { + strip-flags + + local myconf + if use ruby ; then + local rubyver=$(ruby --version | cut -d '.' -f 1,2) + export RUBY="/usr/$(get_libdir)/ruby/${rubyver/ruby /}/" + fi + + econf \ + $(use_with chicken) \ + $(use_with clisp) \ + $(use_with guile) \ + $(use_with java java "${JAVA_HOME}") \ + $(use_with java javaincl "${JAVA_HOME}/include") \ + $(use_with lua) \ + $(use_with mono csharp) \ + $(use_with mzscheme) \ + $(use_with ocaml) \ + $(use_with octave) \ + $(use_with perl perl5 /usr/bin/perl) \ + $(use_with php php4) \ + $(use_with pike) \ + $(use_with python python python) \ + $(use_with R r) \ + $(use_with ruby ruby /usr/bin/ruby) \ + $(use_with tk x) \ + $(use_with tcl) \ + || die + emake || die +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc ANNOUNCE CHANGES CHANGES.current FUTURE NEW README TODO + use doc && dohtml -r Doc/{Devel,Manual} +} |