From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 270EE139694 for ; Wed, 12 Apr 2017 02:19:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FD3AE0D33; Wed, 12 Apr 2017 02:19:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D7D7E0D33 for ; Wed, 12 Apr 2017 02:19:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 59EEC34112A for ; Wed, 12 Apr 2017 02:19:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBA4073F3 for ; Wed, 12 Apr 2017 02:19:34 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1491963567.e91665803f697f31dc3b36b90ad20a3c9320c67c.junghans@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-util/f90cache/ X-VCS-Repository: proj/sci X-VCS-Files: dev-util/f90cache/f90cache-0.99.ebuild X-VCS-Directories: dev-util/f90cache/ X-VCS-Committer: junghans X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: e91665803f697f31dc3b36b90ad20a3c9320c67c X-VCS-Branch: master Date: Wed, 12 Apr 2017 02:19:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0a4bf39e-ea4b-4ebb-9963-cf93b39d16c3 X-Archives-Hash: 9e66bca4c7d693b596faba387a5ef5be commit: e91665803f697f31dc3b36b90ad20a3c9320c67c Author: Christoph Junghans gentoo org> AuthorDate: Wed Apr 12 02:19:09 2017 +0000 Commit: Christoph Junghans gentoo org> CommitDate: Wed Apr 12 02:19:27 2017 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e9166580 dev-util/f90cache: version bump Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-util/f90cache/f90cache-0.99.ebuild | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/dev-util/f90cache/f90cache-0.99.ebuild b/dev-util/f90cache/f90cache-0.99.ebuild new file mode 100644 index 000000000..6012e0ae6 --- /dev/null +++ b/dev-util/f90cache/f90cache-0.99.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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() { + default + 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" +}