mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
sci-libs/cfitsio: Bump to 4.7.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST cfitsio-4.6.4.tar.gz 3774657 BLAKE2B eabc9ff2cec4564812fa03a1232f38d94f876a6222e222bb001796f606589f9b20e74c4c5c14d1850858a90792faa3f1272445d0095e019235cc3239f72ecf9f SHA512 18ad3b94cc2bc792b932d4bc9ddd1537d350597792bf31136a1a488cfa13d953060de5007aa986b4f295224c5f3579404a2a125ce065830da7ffaada40b4f62c
|
||||
DIST cfitsio-4.7.0.tar.gz 2163220 BLAKE2B 3ad989140b6d6bf0de6f51d9f97698c5367dab8408e96ebfef3d9454670e3399d1b078d6b72eee62567a58f6ef80514e617f00367b4a25f1af9ba4398c7ae5b0 SHA512 cc6ac5218fbe5c71ba6ae3fec7dd239af47aff4301611980db7c926cefa64a3d8bce2422162ef49d3fcaf25e94c5a695b3bf2a8aa2cf70001842649150756bea
|
||||
|
||||
63
sci-libs/cfitsio/cfitsio-4.7.0.ebuild
Normal file
63
sci-libs/cfitsio/cfitsio-4.7.0.ebuild
Normal file
@@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake-multilib fortran-2
|
||||
|
||||
DESCRIPTION="C and Fortran library for manipulating FITS files"
|
||||
HOMEPAGE="https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
|
||||
SRC_URI="https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/10-r1"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
IUSE="bzip2 curl test tools"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
app-alternatives/yacc
|
||||
app-alternatives/lex
|
||||
"
|
||||
RDEPEND="
|
||||
virtual/zlib:=[${MULTILIB_USEDEP}]
|
||||
bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
|
||||
curl? ( net-misc/curl[${MULTILIB_USEDEP}] )
|
||||
tools? ( !dev-util/smem )
|
||||
"
|
||||
# Bug #803350
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-lang/cfortran
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.6.3-system-fortran.patch" # bug #803350
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
fortran-2_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# Avoid internal cfortran
|
||||
rm cfortran.h || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local libdir=$(get_libdir)
|
||||
local mycmakeargs=(
|
||||
-DUSE_BZIP2=$(usex bzip2)
|
||||
-DUSE_CURL=$(usex curl)
|
||||
-DUSE_PTHREADS=ON
|
||||
# just appending CFLAGS
|
||||
-DUSE_SSE2=OFF
|
||||
-DUSE_SSSE3=OFF
|
||||
|
||||
-DTESTS=$(usex test)
|
||||
-DUTILS=$(multilib_native_usex tools)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user