diff options
Diffstat (limited to 'sci-libs/qd/qd-2.3.9.ebuild')
-rw-r--r-- | sci-libs/qd/qd-2.3.9.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sci-libs/qd/qd-2.3.9.ebuild b/sci-libs/qd/qd-2.3.9.ebuild new file mode 100644 index 000000000000..cbc9b63caa4a --- /dev/null +++ b/sci-libs/qd/qd-2.3.9.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/qd/qd-2.3.9.ebuild,v 1.1 2010/01/13 17:19:06 bicatali Exp $ + +EAPI=2 +inherit eutils + +DESCRIPTION="Quad-double and double-double float arithmetics" +IUSE="fortran" +HOMEPAGE="http://crd.lbl.gov/~dhbailey/mpdist/" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" + +DEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.3.7-test.patch +} + +src_configure() { + econf $(use_enable fortran enable_fortran) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README AUTHORS NEWS TODO || die "dodoc failed" + cd "${D}"/usr/share/doc || die "cd failed" + mv ${PN}/${PN}.pdf ${PF}/ || die "mv failed" + rm -rf ${PN}/ || die "rm failed" +} |