diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-14 22:54:39 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-14 22:54:39 +0000 |
commit | 79a2eb1283e567da98c101be1bbd387dfba60ad4 (patch) | |
tree | e56ad73d551dff3ee1c925cefb4cd16157c6a82e /sci-libs/cfitsio | |
parent | Removal of the older version which has QA issues, beacuses the newer version ... (diff) | |
download | gentoo-2-79a2eb1283e567da98c101be1bbd387dfba60ad4.tar.gz gentoo-2-79a2eb1283e567da98c101be1bbd387dfba60ad4.tar.bz2 gentoo-2-79a2eb1283e567da98c101be1bbd387dfba60ad4.zip |
Version bump
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-libs/cfitsio')
-rw-r--r-- | sci-libs/cfitsio/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/cfitsio/cfitsio-3.360.ebuild | 55 |
2 files changed, 62 insertions, 2 deletions
diff --git a/sci-libs/cfitsio/ChangeLog b/sci-libs/cfitsio/ChangeLog index fb66c483cdd7..8017d27ce4b0 100644 --- a/sci-libs/cfitsio/ChangeLog +++ b/sci-libs/cfitsio/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/cfitsio -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.64 2013/09/23 13:04:36 jlec Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.65 2014/01/14 22:54:39 bicatali Exp $ + +*cfitsio-3.360 (14 Jan 2014) + + 14 Jan 2014; Sébastien Fabbro <bicatali@gentoo.org> +cfitsio-3.360.ebuild: + Version bump 23 Sep 2013; Justin Lecher <jlec@gentoo.org> cfitsio-3.140.ebuild, cfitsio-3.340.ebuild, cfitsio-3.350.ebuild, metadata.xml: diff --git a/sci-libs/cfitsio/cfitsio-3.360.ebuild b/sci-libs/cfitsio/cfitsio-3.360.ebuild new file mode 100644 index 000000000000..a9f27f13f970 --- /dev/null +++ b/sci-libs/cfitsio/cfitsio-3.360.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.360.ebuild,v 1.1 2014/01/14 22:54:39 bicatali Exp $ + +EAPI=5 + +inherit autotools-utils fortran-2 + +DESCRIPTION="C and Fortran library for manipulating FITS files" +HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" +SRC_URI="http://dev.gentoo.org/~bicatali/distfiles/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" +IUSE="doc examples fortran static-libs +tools threads" + +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND} + fortran? ( dev-lang/cfortran )" + +pkg_setup() { + use fortran && fortran-2_pkg_setup +} + +src_prepare() { + # avoid internal cfortran + if use fortran; then + mv cfortran.h cfortran.h.disabled + ln -s "${EPREFIX}"/usr/include/cfortran.h . || die + fi + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + $(use_enable fortran) + $(use_enable threads) + $(use_enable tools) + ) + autotools-utils_src_configure +} + +src_install () { + autotools-utils_src_install + dodoc README* Changes* docs/changes.txt docs/cfitsio.doc + use fortran && dodoc docs/fitsio.doc + use doc && dodoc docs/{quick,cfitsio,fpackguide}.pdf + use doc && use fortran && dodoc docs/fitsio.pdf + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins cookbook.c testprog.c speed.c smem.c + use fortran && doins cookbook.f testf77.f + fi +} |