aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-12-24 15:43:20 -0700
committerChristoph Junghans <ottxor@gentoo.org>2012-12-24 15:43:20 -0700
commita1df0c911aa7aae726b545ac535b27c1a4d1ee22 (patch)
treeb984866a5f54fa182941baaa1f35ebdc5010974f /dev-util/f90cache/f90cache-0.94.ebuild
parentfix build with !cuda and python=3 + qa (diff)
downloadsci-a1df0c911aa7aae726b545ac535b27c1a4d1ee22.tar.gz
sci-a1df0c911aa7aae726b545ac535b27c1a4d1ee22.tar.bz2
sci-a1df0c911aa7aae726b545ac535b27c1a4d1ee22.zip
version bump
Package-Manager: portage-2.2.0_alpha149
Diffstat (limited to 'dev-util/f90cache/f90cache-0.94.ebuild')
-rw-r--r--dev-util/f90cache/f90cache-0.94.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-util/f90cache/f90cache-0.94.ebuild b/dev-util/f90cache/f90cache-0.94.ebuild
new file mode 100644
index 000000000..00fe4563a
--- /dev/null
+++ b/dev-util/f90cache/f90cache-0.94.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 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"
+}