summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-18 04:04:53 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-18 04:04:53 +0000
commit5f9f3806f4219530d4660c5c75b08b7953432dec (patch)
treea455a4e226f176d3c214ca86fb7ad8b7b24e1281 /dev-lang/swig
parentMark 1.4.2.0-r1 stable on alpha (diff)
downloadgentoo-2-5f9f3806f4219530d4660c5c75b08b7953432dec.tar.gz
gentoo-2-5f9f3806f4219530d4660c5c75b08b7953432dec.tar.bz2
gentoo-2-5f9f3806f4219530d4660c5c75b08b7953432dec.zip
Version bump.
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'dev-lang/swig')
-rw-r--r--dev-lang/swig/ChangeLog9
-rw-r--r--dev-lang/swig/files/digest-swig-1.3.271
-rw-r--r--dev-lang/swig/swig-1.3.27.ebuild72
3 files changed, 80 insertions, 2 deletions
diff --git a/dev-lang/swig/ChangeLog b/dev-lang/swig/ChangeLog
index 3eeb83c7e9bd..dfc41a8226d4 100644
--- a/dev-lang/swig/ChangeLog
+++ b/dev-lang/swig/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/swig
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/ChangeLog,v 1.55 2005/09/18 06:11:10 chriswhite Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/ChangeLog,v 1.56 2005/10/18 04:04:53 vapier Exp $
+
+*swig-1.3.27 (18 Oct 2005)
+
+ 18 Oct 2005; Mike Frysinger <vapier@gentoo.org> +swig-1.3.27.ebuild:
+ Version bump.
18 Sep 2005; Chris White <chriswhite@gentoo.org> ChangeLog:
Re-doing this with proper gpg signing :|
diff --git a/dev-lang/swig/files/digest-swig-1.3.27 b/dev-lang/swig/files/digest-swig-1.3.27
new file mode 100644
index 000000000000..790c4070846d
--- /dev/null
+++ b/dev-lang/swig/files/digest-swig-1.3.27
@@ -0,0 +1 @@
+MD5 8e0952f0a0bac372cf9080b47afa13b8 swig-1.3.27.tar.gz 3635865
diff --git a/dev-lang/swig/swig-1.3.27.ebuild b/dev-lang/swig/swig-1.3.27.ebuild
new file mode 100644
index 000000000000..500ab50ac736
--- /dev/null
+++ b/dev-lang/swig/swig-1.3.27.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.27.ebuild,v 1.1 2005/10/18 04:04:53 vapier 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 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sparc ~x86"
+IUSE="doc guile java lua mono perl php pike python ruby tcltk X"
+RESTRICT="test"
+
+DEPEND="lua? ( dev-lang/lua )
+ guile? ( >=dev-util/guile-1.4 )
+ java? ( virtual/jdk )
+ mono? ( dev-lang/mono )
+ perl? ( >=dev-lang/perl-5.6.1 )
+ php? ( virtual/php )
+ pike? ( dev-lang/pike )
+ python? ( virtual/python )
+ ocaml? ( dev-lang/ocaml )
+ ruby? ( virtual/ruby )
+ tcltk? (
+ dev-lang/tcl
+ X? ( dev-lang/tk )
+ )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's:-name jni_md.h -print:-xtype f -name jni_md.h -print:g' \
+ configure || die
+}
+
+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 X x) \
+ $(use_with tcltk tcl) \
+ $(use_with python) \
+ $(use_with perl perl5 /usr/bin/perl) \
+ $(use_with java java "${JAVA_HOME}") \
+ $(use_with java javaincl "${JAVA_HOME}/include") \
+ $(use_with guile) \
+ $(use_with ruby ruby /usr/bin/ruby) \
+ $(use_with php php4) \
+ $(use_with ocaml) \
+ $(use_with pike) \
+ $(use_with mono csharp) \
+ $(use_with lua) \
+ || die
+
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ dodoc ANNOUNCE CHANGES CHANGES.current FUTURE NEW README TODO
+ use doc && dohtml -r Doc/{Devel,Manual}
+}