diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-06-21 10:09:19 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-06-21 10:09:19 +0000 |
commit | 46d1b973fa4934ec0f6c57cb58179c9bea9444ae (patch) | |
tree | 3dae0cd2592a5a4be567531dfb57fe01e4560a20 /sci-astronomy/wcslib | |
parent | Added fortran-2.eclass support (diff) | |
download | gentoo-2-46d1b973fa4934ec0f6c57cb58179c9bea9444ae.tar.gz gentoo-2-46d1b973fa4934ec0f6c57cb58179c9bea9444ae.tar.bz2 gentoo-2-46d1b973fa4934ec0f6c57cb58179c9bea9444ae.zip |
Added fortran-2.eclass support
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'sci-astronomy/wcslib')
-rw-r--r-- | sci-astronomy/wcslib/ChangeLog | 6 | ||||
-rw-r--r-- | sci-astronomy/wcslib/wcslib-4.6.3.ebuild | 28 | ||||
-rw-r--r-- | sci-astronomy/wcslib/wcslib-4.7.ebuild | 18 |
3 files changed, 35 insertions, 17 deletions
diff --git a/sci-astronomy/wcslib/ChangeLog b/sci-astronomy/wcslib/ChangeLog index 492c93676e20..47a4b95f3c6b 100644 --- a/sci-astronomy/wcslib/ChangeLog +++ b/sci-astronomy/wcslib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-astronomy/wcslib # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.15 2011/02/17 06:38:50 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.16 2011/06/21 10:09:19 jlec Exp $ + + 21 Jun 2011; Justin Lecher <jlec@gentoo.org> wcslib-4.6.3.ebuild, + wcslib-4.7.ebuild: + Added fortran-2.eclass support *wcslib-4.7 (17 Feb 2011) diff --git a/sci-astronomy/wcslib/wcslib-4.6.3.ebuild b/sci-astronomy/wcslib/wcslib-4.6.3.ebuild index 7ded69f307e5..daca03b84562 100644 --- a/sci-astronomy/wcslib/wcslib-4.6.3.ebuild +++ b/sci-astronomy/wcslib/wcslib-4.6.3.ebuild @@ -1,29 +1,37 @@ -# 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-astronomy/wcslib/wcslib-4.6.3.ebuild,v 1.1 2010/12/10 05:58:08 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/wcslib-4.6.3.ebuild,v 1.2 2011/06/21 10:09:19 jlec Exp $ EAPI=3 -inherit eutils virtualx flag-o-matic autotools + +inherit eutils fortran-2 virtualx flag-o-matic autotools DESCRIPTION="Astronomical World Coordinate System transformations library" HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/" SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2" -LICENSE="LGPL-3" SLOT="0" +LICENSE="LGPL-3" KEYWORDS="~amd64 ~x86" IUSE="doc fortran fits pgplot test" -RDEPEND="fits? ( sci-libs/cfitsio ) +RDEPEND=" + fits? ( sci-libs/cfitsio ) pgplot? ( sci-libs/pgplot )" DEPEND="${RDEPEND} - test? ( media-fonts/font-misc-misc - media-fonts/font-cursor-misc )" + test? ( + media-fonts/font-misc-misc + media-fonts/font-cursor-misc )" + +pkg_setup() { + use fortran && fortran-2_pkg_setup +} src_prepare() { - epatch "${FILESDIR}"/${P}-destdir.patch - epatch "${FILESDIR}"/${P}-ldflags.patch - epatch "${FILESDIR}"/${P}-autoconf.patch + epatch \ + "${FILESDIR}"/${P}-destdir.patch \ + "${FILESDIR}"/${P}-ldflags.patch \ + "${FILESDIR}"/${P}-autoconf.patch eautoreconf } diff --git a/sci-astronomy/wcslib/wcslib-4.7.ebuild b/sci-astronomy/wcslib/wcslib-4.7.ebuild index 695f6f35b33f..0ad2ba188108 100644 --- a/sci-astronomy/wcslib/wcslib-4.7.ebuild +++ b/sci-astronomy/wcslib/wcslib-4.7.ebuild @@ -1,24 +1,30 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/wcslib-4.7.ebuild,v 1.1 2011/02/17 06:38:50 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/wcslib-4.7.ebuild,v 1.2 2011/06/21 10:09:19 jlec Exp $ EAPI=3 -inherit eutils virtualx +inherit eutils fortran-2 virtualx DESCRIPTION="Astronomical World Coordinate System transformations library" HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/" SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2" -LICENSE="LGPL-3" SLOT="0" +LICENSE="LGPL-3" KEYWORDS="~amd64 ~x86" IUSE="doc fortran fits pgplot test" -RDEPEND="fits? ( sci-libs/cfitsio ) +RDEPEND=" + fits? ( sci-libs/cfitsio ) pgplot? ( sci-libs/pgplot )" DEPEND="${RDEPEND} - test? ( media-fonts/font-misc-misc - media-fonts/font-cursor-misc )" + test? ( + media-fonts/font-misc-misc + media-fonts/font-cursor-misc )" + +pkg_setup() { + use fortran && fortran-2_pkg_setup +} src_configure() { econf \ |