You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/openspecfun/openspecfun-0.4-r1.ebuild

30 lines
706 B

# Copyright 1999-2014 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.1 2014/08/27 03:40:29 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="virtual/fortran"
DEPEND="${RDEPEND}"
src_prepare() {
sed -i "s:/lib:/$(get_libdir):" Make.inc
}
src_install() {
emake DESTDIR="${D}" prefix="/usr" install
}