From a62362a6b48a56d90d90efe892a87269c2f3cfb8 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Wed, 18 Apr 2012 23:25:59 +0000 Subject: Version bump. Big autotools patch seems to have been applied upstream (Portage version: 2.1.10.49/cvs/Linux x86_64) --- sci-libs/arprec/ChangeLog | 7 ++++- sci-libs/arprec/arprec-2.2.13.ebuild | 52 ++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 sci-libs/arprec/arprec-2.2.13.ebuild (limited to 'sci-libs/arprec') diff --git a/sci-libs/arprec/ChangeLog b/sci-libs/arprec/ChangeLog index b0949900229b..c7ed47851d48 100644 --- a/sci-libs/arprec/ChangeLog +++ b/sci-libs/arprec/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/arprec # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/ChangeLog,v 1.9 2012/03/13 16:43:11 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/ChangeLog,v 1.10 2012/04/18 23:25:59 bicatali Exp $ + +*arprec-2.2.13 (18 Apr 2012) + + 18 Apr 2012; Sébastien Fabbro +arprec-2.2.13.ebuild: + Version bump. Big autotools patch seems to have been applied upstream *arprec-2.2.10 (13 Mar 2012) diff --git a/sci-libs/arprec/arprec-2.2.13.ebuild b/sci-libs/arprec/arprec-2.2.13.ebuild new file mode 100644 index 000000000000..74b6c4561c28 --- /dev/null +++ b/sci-libs/arprec/arprec-2.2.13.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/arprec-2.2.13.ebuild,v 1.1 2012/04/18 23:25:59 bicatali Exp $ + +EAPI=4 + +inherit eutils fortran-2 + +DESCRIPTION="Arbitrary precision float arithmetics and functions" +HOMEPAGE="http://crd.lbl.gov/~dhbailey/mpdist/" +SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +IUSE="doc fortran qd static-libs" + +DEPEND="fortran? ( virtual/fortran ) + qd? ( sci-libs/qd[fortran=] )" +RDEPEND="${DEPEND}" + +pkg_setup() { + use fortran && fortran-2_pkg_setup +} + +src_configure() { + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --enable-shared \ + $(use_enable static-libs static) \ + $(use_enable fortran enable_fortran) \ + $(use_enable qd enable_qd) +} + +src_compile() { + emake + use fortran && emake toolkit +} + +src_install() { + default + if use fortran; then + cd toolkit + ./mathinit || die "mathinit failed" + exeinto /usr/libexec/${PN} + doexe mathtool + insinto /usr/libexec/${PN} + doins *.dat + newdoc README README.mathtool + fi + use doc || rm "${ED}"/usr/share/doc/${PF}/*.pdf +} -- cgit v1.2.3-65-gdbad