blob: a42f98e0092be95c3fd4c8294959a473e644b776 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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 $
EAPI=5
inherit 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
"
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
}
src_install() {
emake DESTDIR="${D}" prefix="/usr" install
}
|