summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-06-07 09:06:19 +0000
committerJustin Lecher <jlec@gentoo.org>2015-06-07 09:06:19 +0000
commit9c46312aad4045f8ef3c65e06c371055ae95bb8a (patch)
treeebacb82ddf1335caf18d6d3632b6a77b35b2a5c8 /dev-libs/openspecfun/openspecfun-0.4-r1.ebuild
parentAdd github to remote-id in metadata.xml (diff)
downloadhistorical-9c46312aad4045f8ef3c65e06c371055ae95bb8a.tar.gz
historical-9c46312aad4045f8ef3c65e06c371055ae95bb8a.tar.bz2
historical-9c46312aad4045f8ef3c65e06c371055ae95bb8a.zip
Use fortran eclass
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0xE9402A79B03529A2!
Diffstat (limited to 'dev-libs/openspecfun/openspecfun-0.4-r1.ebuild')
-rw-r--r--dev-libs/openspecfun/openspecfun-0.4-r1.ebuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/dev-libs/openspecfun/openspecfun-0.4-r1.ebuild b/dev-libs/openspecfun/openspecfun-0.4-r1.ebuild
index a42f98e0092b..27d2097ee532 100644
--- a/dev-libs/openspecfun/openspecfun-0.4-r1.ebuild
+++ b/dev-libs/openspecfun/openspecfun-0.4-r1.ebuild
@@ -1,27 +1,22 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openspecfun/openspecfun-0.4-r1.ebuild,v 1.2 2015/03/28 00:26:18 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openspecfun/openspecfun-0.4-r1.ebuild,v 1.3 2015/06/07 09:04:58 jlec Exp $
EAPI=5
-inherit multilib
+inherit fortran-2 multilib
DESCRIPTION="A collection of special mathematical functions"
HOMEPAGE="http://julialang.org/"
-SRC_URI="
- https://github.com/JuliaLang/openspecfun/archive/v${PV}.tar.gz -> ${P}.tar.gz
- "
+SRC_URI="https://github.com/JuliaLang/openspecfun/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
-RDEPEND="sys-devel/gcc[fortran]"
-DEPEND="${RDEPEND}"
-
src_prepare() {
- sed -i "s:/lib:/$(get_libdir):" Make.inc
+ sed -i "s:/lib:/$(get_libdir):" Make.inc || die
}
src_install() {