commit:     735bc70f773e67f83453ee712048d863f938f095
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 25 22:46:31 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Sep 25 22:47:05 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=735bc70f

dev-util/f90cache: version bump (fixes #497 gh)

Package-Manager: portage-2.2.20.1

 dev-util/f90cache/ChangeLog            |  5 +++++
 dev-util/f90cache/f90cache-0.96.ebuild | 37 ++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-util/f90cache/ChangeLog b/dev-util/f90cache/ChangeLog
index 533cb6e..dc24cf7 100644
--- a/dev-util/f90cache/ChangeLog
+++ b/dev-util/f90cache/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+*f90cache-0.96 (25 Sep 2015)
+
+  25 Sep 2015; Christoph Junghans <[email protected]> +f90cache-0.96.ebuild:
+  dev-util/f90cache: version bump (fixes #497 gh)
+
 *f90cache-0.95 (19 May 2015)
 
   19 May 2015; Marius Brehler <[email protected]> +f90cache-0.95.ebuild:

diff --git a/dev-util/f90cache/f90cache-0.96.ebuild 
b/dev-util/f90cache/f90cache-0.96.ebuild
new file mode 100644
index 0000000..f7c5ab4
--- /dev/null
+++ b/dev-util/f90cache/f90cache-0.96.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+
+       #we depend on ccache, put links in there so that portage find 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"
+}

Reply via email to