diff options
author | Sébastien Fabbro <bicatali@gentoo.org> | 2016-06-06 22:02:17 +0000 |
---|---|---|
committer | Sébastien Fabbro <bicatali@gentoo.org> | 2016-06-06 22:03:00 +0000 |
commit | 802338de6da134cc82fb4c587040acce63effe69 (patch) | |
tree | 6175a5e41777e1b00d9d3ca4cdb9a7c997ca86e7 /sci-libs/cfitsio | |
parent | curl: switch to https:// URI (diff) | |
download | gentoo-802338de6da134cc82fb4c587040acce63effe69.tar.gz gentoo-802338de6da134cc82fb4c587040acce63effe69.tar.bz2 gentoo-802338de6da134cc82fb4c587040acce63effe69.zip |
sci-libs/cfitsio: Version bump
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'sci-libs/cfitsio')
-rw-r--r-- | sci-libs/cfitsio/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/cfitsio/cfitsio-3.39.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-libs/cfitsio/Manifest b/sci-libs/cfitsio/Manifest index 565d1854e294..39d11cfff6c9 100644 --- a/sci-libs/cfitsio/Manifest +++ b/sci-libs/cfitsio/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/sci-libs/cfitsio/cfitsio-3.39.ebuild b/sci-libs/cfitsio/cfitsio-3.39.ebuild new file mode 100644 index 000000000000..08e057e1c4a1 --- /dev/null +++ b/sci-libs/cfitsio/cfitsio-3.39.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~x64-freebsd ~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 +} |