summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2017-03-22 19:16:15 -0500
committerMatthias Maier <tamiko@gentoo.org>2017-03-22 19:17:40 -0500
commit64e5f079195a9f024861990d3580fba9d2cdb1ae (patch)
tree19322e7f347a9b21aaf59bce095b62123623d7b8 /dev-libs/openspecfun
parentsci-libs/openlibm: drop old versions 0.2, 0.3 (diff)
downloadgentoo-64e5f079195a9f024861990d3580fba9d2cdb1ae.tar.gz
gentoo-64e5f079195a9f024861990d3580fba9d2cdb1ae.tar.bz2
gentoo-64e5f079195a9f024861990d3580fba9d2cdb1ae.zip
dev-libs/openspecfun: version bupm to 0.5.1
Package-Manager: Portage-2.3.3, Repoman-2.3.2
Diffstat (limited to 'dev-libs/openspecfun')
-rw-r--r--dev-libs/openspecfun/Manifest1
-rw-r--r--dev-libs/openspecfun/openspecfun-0.5.1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/openspecfun/Manifest b/dev-libs/openspecfun/Manifest
index ebcdc4cb8804..267f6148ea3f 100644
--- a/dev-libs/openspecfun/Manifest
+++ b/dev-libs/openspecfun/Manifest
@@ -1 +1,2 @@
DIST openspecfun-0.4.tar.gz 127722 SHA256 bf98de20d429f6d9abedf47f2118350b3160875dd717b50a9f98415aa51c4a5b SHA512 51374e6e7c3b24967dbe7b670ee28282c769a9cffd48823968c632183f7a27ccd695bbe448d00af2a70cfe55eaa122bc62261532935a8be91ec9a9704a6818d7 WHIRLPOOL b3446fa952db8a8e065b3e2ef7cdd8abff9f29d69402dc94427d74d81511fbe0a35f560e839c054c208d37776af880a5a8bd74d3daf19aed35037b35759d0c57
+DIST openspecfun-0.5.1.tar.gz 121110 SHA256 b83e35feedbd717788866d496189c067a4f9c36b46d93eb7855df7494b1e3d22 SHA512 7f7b0dd04d5c325a99bf5a44521edaed87ba75acc8d85be64e3be55ff697a1544430d1fe4b5330d5ceb907bada26b42750cf6654fc8ed12b1738ec29fcbeb0b3 WHIRLPOOL b67f2e34bef8409942d642b5791a5555f66192b420481bb24b111c888a3b5c1dffe64223aac7c6e8bee44d9ff50fa4ffb439bf324af4d6742173069311433d93
diff --git a/dev-libs/openspecfun/openspecfun-0.5.1.ebuild b/dev-libs/openspecfun/openspecfun-0.5.1.ebuild
new file mode 100644
index 000000000000..5cad71a2cd9c
--- /dev/null
+++ b/dev-libs/openspecfun/openspecfun-0.5.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+LICENSE="MIT public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+DEPEND="sci-libs/openlibm"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i "s:/lib:/$(get_libdir):" Make.inc || die
+ default
+}
+
+src_compile() {
+ emake prefix="${EPREFIX}/usr" USE_OPENLIBM=1
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
+ libdir="${EPREFIX}/usr/$(get_libdir)" install
+ use static-libs || rm "${D}/${EPREFIX}/usr/$(get_libdir)/libopenspecfun.a" || die "rm failed"
+ dodoc README.md
+}