sci-astronomy/scamp: drop 2.0.4

Closes: https://bugs.gentoo.org/934756
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2024-07-05 13:39:22 +03:00
parent a40cb8c0ff
commit d38ed56188
2 changed files with 0 additions and 52 deletions

View File

@@ -1,2 +1 @@
DIST scamp-2.0.4.tar.gz 4876618 BLAKE2B 4dc513bee48ec0c3bc8e90febc46e86d78f59a78fdbca0ee3efd2c0d39b5b32f2c4fb8655b3d4be74ca211deafb16645c295dd272c8fa9c426ba82ab1b97f36a SHA512 ed0a824ddcc3f9c791121323bb59969e89f509a2c429c0abb45655e6852bc452bd46c539dbebfd23097af1c7dbef9d3d905030083828974f75233ea4af4484d5
DIST scamp-2.10.0.tar.gz 56354286 BLAKE2B b31d292413160f85f8086d848d81f36adde3bc560c737adfe77245d23eb6eab19e5f73a343669b462453542a140d89fb3d12b5d6a481949205722c6e2f5234cd SHA512 7c7a4ab167a3c03b7fd862f39ccd9368d6ac31270a86b336f1ee2a52f8e4324e29e6324047416159c0b73bb54b05f12b7b70c2de3cb4197999cb848fc5ce4c0d

View File

@@ -1,51 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="Astrometric and photometric solutions for astronomical images"
HOMEPAGE="http://www.astromatic.net/software/scamp"
SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="GPL-3"
SLOT="0"
IUSE="doc plplot threads"
RDEPEND="
sci-astronomy/cdsclient
sci-libs/atlas[lapack,threads=]
sci-libs/fftw:3.0
plplot? ( sci-libs/plplot:= )"
DEPEND="${RDEPEND}"
src_prepare() {
default
local mycblas=atlcblas myclapack=atlclapack
if use threads; then
[[ -e "${EPREFIX}"/usr/$(get_libdir)/libptcblas.so ]] && \
mycblas=ptcblas
[[ -e "${EPREFIX}"/usr/$(get_libdir)/libptclapack.so ]] && \
myclapack=ptclapack
fi
sed -e "s/-lcblas/-l${mycblas}/g" \
-e "s/AC_CHECK_LIB(cblas/AC_CHECK_LIB(${mycblas}/g" \
-e "s|lapack_lib=\"lapack\"|lapack_lib=${myclapack}|" \
-i acx_atlas.m4 || die
sed -e 's|plplotd|plplot|g' -i acx_plplot.m4 || die
eautoreconf
}
src_configure() {
econf \
--with-atlas-incdir="${EPREFIX}/usr/include/atlas" \
$(use_enable plplot) \
$(use_enable threads)
}
src_install() {
default
use doc && dodoc doc/*
}