diff options
author | Andrey Grozin <grozin@gentoo.org> | 2011-05-18 20:37:14 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2011-05-18 20:37:14 +0000 |
commit | 7c43bd695a8422f7b03d1b4b0d68b52cc876c2c5 (patch) | |
tree | 4a9b9b2c4cc4771fb08efbbfcc766bb4692a5944 /sci-libs | |
parent | Version bump (bug #367465), thanks to Joshua Rich <joshua.rich@gmail.com> (diff) | |
download | gentoo-2-7c43bd695a8422f7b03d1b4b0d68b52cc876c2c5.tar.gz gentoo-2-7c43bd695a8422f7b03d1b4b0d68b52cc876c2c5.tar.bz2 gentoo-2-7c43bd695a8422f7b03d1b4b0d68b52cc876c2c5.zip |
Version bump
(Portage version: 2.2.0_alpha34/cvs/Linux i686)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/arprec/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/arprec/arprec-2.2.7.ebuild | 46 |
2 files changed, 53 insertions, 2 deletions
diff --git a/sci-libs/arprec/ChangeLog b/sci-libs/arprec/ChangeLog index 963b3c86d53a..8394b551a27c 100644 --- a/sci-libs/arprec/ChangeLog +++ b/sci-libs/arprec/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/arprec -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/ChangeLog,v 1.3 2009/08/25 13:09:27 grozin Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/ChangeLog,v 1.4 2011/05/18 20:37:14 grozin Exp $ + +*arprec-2.2.7 (18 May 2011) + + 18 May 2011; Andrey Grozin <grozin@gentoo.org> +arprec-2.2.7.ebuild: + Version bump 23 Aug 2009; Andrey Grozin <grozin@gentoo.org> arprec-2.2.2.ebuild: Fixing a typo in the ebuild diff --git a/sci-libs/arprec/arprec-2.2.7.ebuild b/sci-libs/arprec/arprec-2.2.7.ebuild new file mode 100644 index 000000000000..54d10fc9f3f1 --- /dev/null +++ b/sci-libs/arprec/arprec-2.2.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/arprec-2.2.7.ebuild,v 1.1 2011/05/18 20:37:14 grozin Exp $ +EAPI=4 +inherit eutils + +DESCRIPTION="Arbitrary precision float arithmetics and functions" +IUSE="fortran qd" +HOMEPAGE="http://crd.lbl.gov/~dhbailey/mpdist/" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" + +SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" + +DEPEND="qd? ( sci-libs/qd )" + +src_configure() { + econf $(use_enable fortran enable_fortran) \ + $(use_enable qd enable_qd) +} + +src_compile() { + emake || die "emake failed" + if use fortran; then + emake toolkit || die "emake toolkit failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README AUTHORS NEWS TODO || die "dodoc failed" + if use fortran; then + cd toolkit + ./mathinit || die "mathinit failed" + exeinto /usr/libexec/${PN} + doexe mathtool || die "mathtool install failed" + insinto /usr/libexec/${PN} + doins *.dat || die "mathtool data install failed" + docinto toolkit + dodoc README || die "mathtool doc install failed" + fi + cd "${D}"/usr/share/doc || die "cd failed" + mv ${PN}/${PN}.pdf ${PF}/ || die "mv failed" + rm -rf ${PN}/ || die "rm failed" +} |