diff options
author | 2011-06-21 10:25:42 +0000 | |
---|---|---|
committer | 2011-06-21 10:25:42 +0000 | |
commit | 51f7baa9550ec1732a897bdb2f237225f6d3557f (patch) | |
tree | 5f8f4838acdf649373dde9b3d164e01712403063 /sci-libs/qd | |
parent | Backport perl-5.14 compile fix, bug #372301 by Markus Peloquin <markus@cs.wis... (diff) | |
download | historical-51f7baa9550ec1732a897bdb2f237225f6d3557f.tar.gz historical-51f7baa9550ec1732a897bdb2f237225f6d3557f.tar.bz2 historical-51f7baa9550ec1732a897bdb2f237225f6d3557f.zip |
Added fortran-2.eclass support
Package-Manager: portage-2.2.0_alpha41/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/qd')
-rw-r--r-- | sci-libs/qd/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/qd/qd-2.3.11.ebuild | 26 | ||||
-rw-r--r-- | sci-libs/qd/qd-2.3.9.ebuild | 19 |
3 files changed, 30 insertions, 21 deletions
diff --git a/sci-libs/qd/ChangeLog b/sci-libs/qd/ChangeLog index 7d164bfdbe1f..3307b0bb579d 100644 --- a/sci-libs/qd/ChangeLog +++ b/sci-libs/qd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/qd # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/qd/ChangeLog,v 1.5 2011/05/20 14:39:29 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/qd/ChangeLog,v 1.6 2011/06/21 10:21:34 jlec Exp $ + + 21 Jun 2011; Justin Lecher <jlec@gentoo.org> qd-2.3.9.ebuild, + qd-2.3.11.ebuild: + Added fortran-2.eclass support 20 May 2011; Andrey Grozin <grozin@gentoo.org> +files/qd-2.3.11-configure-version.patch, +files/qd-2.3.11-docpath.patch: diff --git a/sci-libs/qd/qd-2.3.11.ebuild b/sci-libs/qd/qd-2.3.11.ebuild index 5b0aad595998..b61934957549 100644 --- a/sci-libs/qd/qd-2.3.11.ebuild +++ b/sci-libs/qd/qd-2.3.11.ebuild @@ -1,26 +1,29 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/qd/qd-2.3.11.ebuild,v 1.1 2011/05/18 20:32:23 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/qd/qd-2.3.11.ebuild,v 1.2 2011/06/21 10:21:34 jlec Exp $ EAPI=4 -inherit autotools eutils +inherit autotools eutils fortran-2 DESCRIPTION="Quad-double and double-double float arithmetics" -IUSE="fortran" HOMEPAGE="http://crd.lbl.gov/~dhbailey/mpdist/" -LICENSE="BSD" +SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" + SLOT="0" +LICENSE="BSD" KEYWORDS="~amd64 ~x86" +IUSE="fortran" -SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" - -DEPEND="" +pkg_setup() { + use fortran && fortran-2_pkg_setup +} src_prepare() { - epatch "${FILESDIR}"/${PN}-2.3.7-test.patch - epatch "${FILESDIR}"/${P}-configure-version.patch - epatch "${FILESDIR}"/${P}-docpath.patch + epatch \ + "${FILESDIR}"/${PN}-2.3.7-test.patch \ + "${FILESDIR}"/${P}-configure-version.patch \ + "${FILESDIR}"/${P}-docpath.patch eautoreconf } @@ -29,8 +32,7 @@ src_configure() { } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog NEWS README.pdf TODO + default dosym /usr/include/qd/qd_real.h /usr/include/qd/qd.h dosym /usr/include/qd/dd_real.h /usr/include/qd/dd.h } diff --git a/sci-libs/qd/qd-2.3.9.ebuild b/sci-libs/qd/qd-2.3.9.ebuild index cbc9b63caa4a..2a54bff80ddd 100644 --- a/sci-libs/qd/qd-2.3.9.ebuild +++ b/sci-libs/qd/qd-2.3.9.ebuild @@ -1,20 +1,23 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 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 $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/qd/qd-2.3.9.ebuild,v 1.2 2011/06/21 10:21:34 jlec Exp $ EAPI=2 -inherit eutils + +inherit eutils fortran-2 DESCRIPTION="Quad-double and double-double float arithmetics" -IUSE="fortran" HOMEPAGE="http://crd.lbl.gov/~dhbailey/mpdist/" -LICENSE="BSD" +SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" + SLOT="0" +LICENSE="BSD" KEYWORDS="~amd64 ~x86" +IUSE="fortran" -SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" - -DEPEND="" +pkg_setup() { + use fortran && fortran-2_pkg_setup +} src_prepare() { epatch "${FILESDIR}"/${PN}-2.3.7-test.patch |