dev-util/f90cache - 0.99c (science)

Search

Package Information

Description:
Compiler cache for fortran
Homepage:
https://perso.univ-rennes1.fr/edouard.canot//f90cache/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
0.99c 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit fortran-2

DESCRIPTION="Compiler cache for fortran"
HOMEPAGE="https://perso.univ-rennes1.fr/edouard.canot//f90cache/"
SRC_URI="https://perso.univ-rennes1.fr/edouard.canot//f90cache/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"

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 ../../../bin/f90cache "/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"
}

Dependencies

RDEPEND

dev-util/ccache

Manifest for 0.99c

Type File Size Source URLs
DIST f90cache-0.99c.tar.gz 78078 bytes https://perso.univ-rennes1.fr/edouard.canot//f90cache/f90cache-0.99c.tar.gz