diff options
author | Panagiotis Christopoulos <pchrist@gentoo.org> | 2010-04-15 21:39:54 +0000 |
---|---|---|
committer | Panagiotis Christopoulos <pchrist@gentoo.org> | 2010-04-15 21:39:54 +0000 |
commit | efd051163135fe025a77617d7bc3a9c8bd66b8c0 (patch) | |
tree | 8e97b8509fca647f394bd02963cee8b6607e488c /dev-lang/swig | |
parent | Fix SRC_URI. (diff) | |
download | gentoo-2-efd051163135fe025a77617d7bc3a9c8bd66b8c0.tar.gz gentoo-2-efd051163135fe025a77617d7bc3a9c8bd66b8c0.tar.bz2 gentoo-2-efd051163135fe025a77617d7bc3a9c8bd66b8c0.zip |
Revision Bump: a first try to fix src_test. Also added new use flag (ccache), which handles support of ccache-swig
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'dev-lang/swig')
-rw-r--r-- | dev-lang/swig/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lang/swig/metadata.xml | 1 | ||||
-rw-r--r-- | dev-lang/swig/swig-1.3.36.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/swig/swig-1.3.40-r1.ebuild | 41 |
4 files changed, 52 insertions, 3 deletions
diff --git a/dev-lang/swig/ChangeLog b/dev-lang/swig/ChangeLog index 8e448fa86ca3..21c2712c4dda 100644 --- a/dev-lang/swig/ChangeLog +++ b/dev-lang/swig/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-lang/swig # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/ChangeLog,v 1.129 2010/01/02 18:40:33 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/ChangeLog,v 1.130 2010/04/15 21:39:54 pchrist Exp $ + +*swig-1.3.40-r1 (15 Apr 2010) + + 15 Apr 2010; Panagiotis Christopoulos <pchrist@gentoo.org> + +swig-1.3.40-r1.ebuild, metadata.xml: + Revision Bump: a first try to fix src_test. Also added new use flag + (ccache), which handles support of ccache-swig 02 Jan 2010; Christian Faulhammer <fauli@gentoo.org> swig-1.3.40.ebuild: Transfer Prefix keywords diff --git a/dev-lang/swig/metadata.xml b/dev-lang/swig/metadata.xml index 6b571f3efdb8..e467906f18e6 100644 --- a/dev-lang/swig/metadata.xml +++ b/dev-lang/swig/metadata.xml @@ -16,5 +16,6 @@ SWIG is a software development tool that connects programs written in C and C++ <flag name='octave'>Enable Octave support</flag> <flag name='pike'>Enable Pike scripting support</flag> <flag name='R'>Enable R support</flag> + <flag name='ccache'>build ccache-swig(a fast compiler cache)</flag> </use> </pkgmetadata> diff --git a/dev-lang/swig/swig-1.3.36.ebuild b/dev-lang/swig/swig-1.3.36.ebuild index 3f1cdd5a26d5..54969507daae 100644 --- a/dev-lang/swig/swig-1.3.36.ebuild +++ b/dev-lang/swig/swig-1.3.36.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.36.ebuild,v 1.7 2009/03/02 19:05:23 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.36.ebuild,v 1.8 2010/04/15 21:39:54 pchrist Exp $ inherit flag-o-matic mono eutils #48511 diff --git a/dev-lang/swig/swig-1.3.40-r1.ebuild b/dev-lang/swig/swig-1.3.40-r1.ebuild new file mode 100644 index 000000000000..fe58e0251907 --- /dev/null +++ b/dev-lang/swig/swig-1.3.40-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.40-r1.ebuild,v 1.1 2010/04/15 21:39:54 pchrist Exp $ + +EAPI="3" +#inherit autotools #mono #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 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="ccache doc" + +DEPEND="test? ( dev-libs/boost )" +RDEPEND="" +#AM_OPTS="--add-missing --copy --force-missing" +src_prepare () { + #eautoreconf --verbose || die "reconfiguring the build system failed" + #use test && die + rm -v aclocal.m4 || die "Unable to remove aclocal.m4" + env - ./autogen.sh || die "Autogen script failed" +} + +src_configure () { + #--disable-dependency-tracking \ + econf \ + $(use_enable ccache) +} + +src_test() { + ewarn "It is known that some tests fail, sometimes. Be warned!" + time env - make "${MAKEOPTS}" check || die "Tests failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ANNOUNCE CHANGES CHANGES.current FUTURE NEW README TODO || die + ( use doc && dohtml -r Doc/{Devel,Manual} ) || die +} |