From 330bca4677991aeccf73998cf29b7b088e5f2d41 Mon Sep 17 00:00:00 2001 From: David Roman Date: Mon, 9 Mar 2020 15:13:08 +0100 Subject: sci-astronomy/erfa: new package Closes: https://github.com/gentoo/sci/pull/948 Signed-off-by: Benda Xu --- sci-astronomy/erfa/Manifest | 1 + sci-astronomy/erfa/erfa-1.7.0.ebuild | 30 ++++++++++++++++++++++++++++++ sci-astronomy/erfa/metadata.xml | 21 +++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 sci-astronomy/erfa/Manifest create mode 100644 sci-astronomy/erfa/erfa-1.7.0.ebuild create mode 100644 sci-astronomy/erfa/metadata.xml (limited to 'sci-astronomy') diff --git a/sci-astronomy/erfa/Manifest b/sci-astronomy/erfa/Manifest new file mode 100644 index 000000000..0bc2bbff5 --- /dev/null +++ b/sci-astronomy/erfa/Manifest @@ -0,0 +1 @@ +DIST erfa-1.7.0.tar.gz 656949 BLAKE2B 071ae7c5e60a8904b0b93a615c1a23d8db6ea7100e822cfa842f279ce6eed341426d6ef46131dfa92c3ec605c03eeb1c7f204238ad229d4ed524fbc91e58d39c SHA512 0a25faa22cc756776df40cfd927388077f7d253ee89fd4e21c4ddb35198dafd5fd7e9904d00f419675c5f3b26232b5bd04087d4a2f175da1f89179173f98692f diff --git a/sci-astronomy/erfa/erfa-1.7.0.ebuild b/sci-astronomy/erfa/erfa-1.7.0.ebuild new file mode 100644 index 000000000..ba7c72781 --- /dev/null +++ b/sci-astronomy/erfa/erfa-1.7.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools eutils + +DESCRIPTION="Essential Routines for Fundamental Astronomy" +HOMEPAGE="https://github.com/liberfa/erfa" +SRC_URI="https://github.com/liberfa/erfa/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/1" +KEYWORDS="~amd64 ~x86" + +IUSE="static-libs" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/sci-astronomy/erfa/metadata.xml b/sci-astronomy/erfa/metadata.xml new file mode 100644 index 000000000..3d7ebf32a --- /dev/null +++ b/sci-astronomy/erfa/metadata.xml @@ -0,0 +1,21 @@ + + + + + davidroman96@gmail.com + David Roman + + + sci-astronomy@gentoo.org + Gentoo Astronomy Project + + + Essential Routines for Fundamental Astronomy is a C + library containing key algorithms for astronomy, and is based on + the SOFA library published by the International Astronomical Union + (IAU). + + + liberfa/erfa + + -- cgit v1.2.3-65-gdbad