summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS├ębastien Fabbro <bicatali@gentoo.org>2017-06-26 03:19:46 +0000
committerS├ębastien Fabbro <bicatali@gentoo.org>2017-06-26 04:16:42 +0000
commit1e60a4ec8ff23386b093047a280e751464ad7b03 (patch)
tree5d27630422bd17a5e51140c0b54bd933db22504e /sci-libs/cfitsio
parentdev-python/Babel: version bump (diff)
downloadgentoo-1e60a4ec8ff23386b093047a280e751464ad7b03.tar.gz
gentoo-1e60a4ec8ff23386b093047a280e751464ad7b03.tar.bz2
gentoo-1e60a4ec8ff23386b093047a280e751464ad7b03.zip
sci-libs/cfitsio: version bump
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sci-libs/cfitsio')
-rw-r--r--sci-libs/cfitsio/Manifest1
-rw-r--r--sci-libs/cfitsio/cfitsio-3.410.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/sci-libs/cfitsio/Manifest b/sci-libs/cfitsio/Manifest
index 39d11cfff6c..719f4899cd7 100644
--- a/sci-libs/cfitsio/Manifest
+++ b/sci-libs/cfitsio/Manifest
@@ -1,3 +1,4 @@
DIST cfitsio-3.360.tar.gz 4104894 SHA256 b5fb209583c76a0bcc39808e55ebf2417b9c26114c59db1a3f49ea1ede5fa95d SHA512 158819b4a3a29c29a5f017283e2b20067420994e881d202dbf3ba199c9e564dc1e74f8be5ce84f78107126d2a8688cc55cc7ed284540ca647e44cdc3b0b02072 WHIRLPOOL 05589a27c6fa83a0240b26924954c1c6d25d985ad609dfbd37fccfe5758fd28efbd97a5ec289803053e2f53e053e51c017292845de1b4368bcd1725fa2eccdb7
DIST cfitsio-3.38.tar.gz 4142236 SHA256 d4aef44401b1d2142a13ffc3a28cce7c77264ca0ddce164d87fdcb275503dd5d SHA512 7428c1c87736ca384153f7f810e0bdbccdcc2f41892b0b9ceda9e5efb20655585c2789b16510a5362f8b67ef53a0ac443094786966e5748cbe7ad828599723fc WHIRLPOOL 8a809e0cc89357a983e60c56e41ef5d758561751d49a2443c0c0b2640d0573f6f7313c99342458600aa28739e0ea55f85adc1e04505777c3339dc750aa829bcf
DIST cfitsio-3.39.tar.gz 4177822 SHA256 4d0c4fa870cc9ea9163197b40e8b6357fa26e47e83bf3ad97bf992c7ad7ecc33 SHA512 a6cde8353d7beede7e7a53ba7109c3a6b5812355a423ad8e2e459281ac760b392014e3ee2d2f30c639eef38294ebac59950010e3cadfd078692f6d3c6d167e3f WHIRLPOOL 55a8bac494bc77e805a67c42edcd7c4730dac1c5185c051e5750b87163e421b6a9b870baeb873585621c98a85f9c68cf83ff255627fa5e7bd86aa116722de087
+DIST cfitsio-3.410.tar.gz 4194529 SHA256 26c048dbd28476c83ce57edf87f0dc5fa4c409e5b377cdac982ddca0bdd3bd6d SHA512 cc1de2a4314e7c82bdd6855e11dea4e18dc4e7bcb27b0d15b884cbaeb4acd3b1e12dadd17ab83c7917570934913f89337035470ee4921e7b62409a81052d70cd WHIRLPOOL 8cac699c1f67fe414fc96295ff8bb83ff21b4240f932eb2fe0fb6d1a917a0e630c83adab9136e447a51206ece653e12f8403038f9f7195c6483b60e4bb66c091
diff --git a/sci-libs/cfitsio/cfitsio-3.410.ebuild b/sci-libs/cfitsio/cfitsio-3.410.ebuild
new file mode 100644
index 00000000000..9a75291ffa7
--- /dev/null
+++ b/sci-libs/cfitsio/cfitsio-3.410.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_NEEDED=fortran
+
+inherit fortran-2 multilib-minimal
+
+DESCRIPTION="C and Fortran library for manipulating FITS files"
+HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
+SRC_URI="https://dev.gentoo.org/~bicatali/distfiles/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/5"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+IUSE="bzip2 doc examples fortran static-libs +tools threads"
+
+RDEPEND="
+ sys-libs/zlib[${MULTILIB_USEDEP}]
+ bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )"
+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
+ default
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable fortran) \
+ $(use_enable static-libs static) \
+ $(use_enable threads) \
+ $(use_enable tools) \
+ $(use_with bzip2)
+}
+
+multilib_src_install_all() {
+ dodoc README README.md CHANGES.md 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
+ prune_libtool_files --all
+}