commit: fd3a64680d8762571179527265cc4c0422c9492a Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> AuthorDate: Tue May 19 07:32:00 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Tue May 19 07:32:00 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=fd3a6468
dev-util/f90cache: Version bump Package-Manager: portage-2.2.18 dev-util/f90cache/ChangeLog | 7 ++++++- dev-util/f90cache/f90cache-0.95.ebuild | 38 ++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/dev-util/f90cache/ChangeLog b/dev-util/f90cache/ChangeLog index 4b14c0a..6994547 100644 --- a/dev-util/f90cache/ChangeLog +++ b/dev-util/f90cache/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for dev-util/f90cache -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*f90cache-0.95 (19 May 2015) + + 19 May 2015; Marius Brehler <[email protected]> +f90cache-0.95.ebuild: + Version bump + *f90cache-0.94 (24 Dec 2012) 24 Dec 2012; Christoph Junghans <[email protected]> +f90cache-0.94.ebuild, diff --git a/dev-util/f90cache/f90cache-0.95.ebuild b/dev-util/f90cache/f90cache-0.95.ebuild new file mode 100644 index 0000000..43e04c2 --- /dev/null +++ b/dev-util/f90cache/f90cache-0.95.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit fortran-2 multilib toolchain-funcs + +DESCRIPTION="a compiler cache for fortran" +HOMEPAGE="http://people.irisa.fr/Edouard.Canot/f90cache/" +SRC_URI="http://people.irisa.fr/Edouard.Canot/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="" +RDEPEND="dev-util/ccache" + +src_prepare() { + sed -i -e '/OBJS/s/CFLAGS/LDFLAGS/' -e '/strip/d' Makefile.in || die +} + +src_install() { + default + dohtml web/* + + #we depend on ccache, put links in there so that portage fined it + #TODO improve this + dosym "/usr/bin/f90cache" "${ROOT}/usr/$(get_libdir)/ccache/bin/gfortran" +} + +pkg_postinst() { + elog "Please add F90CACHE_DIR=\"${ROOT%/}/var/tmp/f90cache\"" + elog "to your make.conf otherwise f90cache files end up in" + elog "home of the user executing portage" +}
