sci-astronomy/scamp: add 2.13.1

Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/40405
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Mario Haustein
2025-02-01 10:53:09 +01:00
committed by Sam James
parent 297739af16
commit c2ddba9d66
2 changed files with 51 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST scamp-2.10.0.tar.gz 56354286 BLAKE2B b31d292413160f85f8086d848d81f36adde3bc560c737adfe77245d23eb6eab19e5f73a343669b462453542a140d89fb3d12b5d6a481949205722c6e2f5234cd SHA512 7c7a4ab167a3c03b7fd862f39ccd9368d6ac31270a86b336f1ee2a52f8e4324e29e6324047416159c0b73bb54b05f12b7b70c2de3cb4197999cb848fc5ce4c0d
DIST scamp-2.13.1.tar.gz 56345223 BLAKE2B 0f9c5693c22175ec9706eae8117a00acc24684fa389084b13772c3dff46ad10a1a9a43c1bad0fd05619e323dfa461a7e23c14a597d68fa7f488c6eb33a3536b6 SHA512 d5d28a2ba1c0ce20f6011ae757804e82fb30b666f3c34a9a6307653f7477f848d507be4df437c219427894680815c142b8653e74a5a64497dc7919d16d126a49

View File

@@ -0,0 +1,50 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Astrometric and photometric solutions for astronomical images"
HOMEPAGE="http://www.astromatic.net/software/scamp https://github.com/astromatic/scamp"
if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/astromatic/${PN}.git"
else
SRC_URI="https://github.com/astromatic/scamp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="plplot threads"
RDEPEND="
sci-astronomy/cdsclient
sci-libs/atlas[lapack,threads=]
sci-libs/fftw:3.0
plplot? ( sci-libs/plplot:= )"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-2.10.0-spread_bits64.patch"
)
src_prepare() {
default
sed -e "s/lapack_atlas/atlclapack/g" -i m4/acx_atlas.m4 || die
eautoreconf
}
src_configure() {
local myeconfargs=(
--with-atlas-incdir="${EPREFIX}/usr/include/atlas"
$(use_enable plplot)
$(use_enable threads)
)
econf "${myeconfargs[@]}"
}