From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-astronomy/scamp/Manifest | 4 +++ sci-astronomy/scamp/metadata.xml | 16 +++++++++++ sci-astronomy/scamp/scamp-2.0.4.ebuild | 51 ++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 sci-astronomy/scamp/Manifest create mode 100644 sci-astronomy/scamp/metadata.xml create mode 100644 sci-astronomy/scamp/scamp-2.0.4.ebuild (limited to 'sci-astronomy/scamp') diff --git a/sci-astronomy/scamp/Manifest b/sci-astronomy/scamp/Manifest new file mode 100644 index 000000000000..7902058e6e0d --- /dev/null +++ b/sci-astronomy/scamp/Manifest @@ -0,0 +1,4 @@ +DIST scamp-2.0.4.tar.gz 4876618 SHA256 cbcd57f5042feefa081dc0c5ff07f7f50114a7ef41e79c060ed163caae119d41 SHA512 ed0a824ddcc3f9c791121323bb59969e89f509a2c429c0abb45655e6852bc452bd46c539dbebfd23097af1c7dbef9d3d905030083828974f75233ea4af4484d5 WHIRLPOOL bc87946ebacd2d723693898aac5a4702eecc138093cab987f76dfc8fb91c963bfaf13d25bd9042ee1fa23002816c4dde1d439da92839236f170adc119afee7d5 +EBUILD scamp-2.0.4.ebuild 1259 SHA256 95f8bbf29c88ea15f7cb6ffcb2e7ab32a8326d0dbe17f74554a0338cc53918df SHA512 b4ecceb3160ecb4582d49b97ceedddd479e121e7293bcfeb0156ed68ab33255c646dc4fd2d82d52d7ef5ab7d7c37cab6cb0ffc611df46b11f58d4f7a86ce6dfe WHIRLPOOL 2076ba16ed4c129eb1392c843e8f4b2c3e496282f8d2667493f60d55f43ca020c6379d1d822d1c1ced4ef2f75ee5581be6286954db04877b590bb19735c84706 +MISC ChangeLog 313 SHA256 6261fa0f2b66715604e3e122eed5932d3b6984649ed72520f1c60a4b555ec938 SHA512 b8e588db5c227f93833172daefb3198460bcfdf2ce83516da89df127abce85dec81e2cfc76023a57682f076669154182ba7ff7ae7cdd0a34490dd6f93bbb01d6 WHIRLPOOL 2e9d2b44bf9cf7a8bc2f31d597a93d5d5726fe84bdcfc8c95c4ec07f95cb9657cffb90ae233d00347ba70cdbcb55702c26b0731b40e181d705fe5372e0f3b2b4 +MISC metadata.xml 609 SHA256 95fa7ae186c457604d8b219e72264badf52f03e616ef37b65bdc781b1fc9b8ff SHA512 d4165ef6ac71ad229e8deaa2b968398def27cd80528d845de16b17739c26a92f869199f78d469a224fbe76cab0f735177b8938a76bb723b772a56023c86556c2 WHIRLPOOL a3a5e79a4aabdc24b401b0569bb49edccbfb94fd250a17b9e0f3f15cb84b7e879b64ff5592466e71185152ff84fd500e83ac19bb8444adfc2d86dacc55ca639b diff --git a/sci-astronomy/scamp/metadata.xml b/sci-astronomy/scamp/metadata.xml new file mode 100644 index 000000000000..d337960dbee2 --- /dev/null +++ b/sci-astronomy/scamp/metadata.xml @@ -0,0 +1,16 @@ + + + + + sci-astronomy@gentoo.org + Gentoo Astronomy Project + + + SCAMP computes astrometric and photometric solutions from SExtractor catalogs + and stores them in header files. These headers files can be read by SWarp to + coadd images. + + + Build with sci-libs/plplot to allow diagnostic plots during processing + + diff --git a/sci-astronomy/scamp/scamp-2.0.4.ebuild b/sci-astronomy/scamp/scamp-2.0.4.ebuild new file mode 100644 index 000000000000..ac8a2435dd18 --- /dev/null +++ b/sci-astronomy/scamp/scamp-2.0.4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# 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/* +} -- cgit v1.2.3