From 6a9a725664ad99e22b74846d102e4ac52167ec46 Mon Sep 17 00:00:00 2001 From: Sébastien Fabbro Date: Thu, 29 Dec 2016 03:14:05 +0000 Subject: sci-astronomy/pal: initial import Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- sci-astronomy/pal/Manifest | 1 + sci-astronomy/pal/metadata.xml | 14 ++++++++++++++ sci-astronomy/pal/pal-0.9.7.ebuild | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 sci-astronomy/pal/Manifest create mode 100644 sci-astronomy/pal/metadata.xml create mode 100644 sci-astronomy/pal/pal-0.9.7.ebuild (limited to 'sci-astronomy/pal') diff --git a/sci-astronomy/pal/Manifest b/sci-astronomy/pal/Manifest new file mode 100644 index 000000000000..68bd52278690 --- /dev/null +++ b/sci-astronomy/pal/Manifest @@ -0,0 +1 @@ +DIST pal-0.9.7.tar.gz 1220443 SHA256 7151aa05c2e2456394cae2043feb96e64d779286fb31a27ff11ec3dd66021286 SHA512 d3f13e7ff321500acc71198240392fe9a3304c4142cf5b1f1c3950ddb1351dddac8565ef27b1c724d608cc1053d15647c777c4d0dc466a99a1b08b64e62ec37b WHIRLPOOL e6d9986e43e91f35ee47e6586d3595c62f12d4dabb54f3e9adb6d524fcf075e54e92c6e985005bd3c892a55fbcf469a7a49f0e7672e0923ae2b6f1a321b65c15 diff --git a/sci-astronomy/pal/metadata.xml b/sci-astronomy/pal/metadata.xml new file mode 100644 index 000000000000..e435a2438c1a --- /dev/null +++ b/sci-astronomy/pal/metadata.xml @@ -0,0 +1,14 @@ + + + + + sci-astronomy@gentoo.org + Gentoo Astronomy Project + + + The Positional Astronomy Library is a collection of code designed + to aid in replacing the SLA library with code from NOVAS and + ERFA. Where possible the API is similar to the C SLA API except + for the use of a "pal" prefix. + + diff --git a/sci-astronomy/pal/pal-0.9.7.ebuild b/sci-astronomy/pal/pal-0.9.7.ebuild new file mode 100644 index 000000000000..bd8451b6d4d4 --- /dev/null +++ b/sci-astronomy/pal/pal-0.9.7.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils + +DESCRIPTION="Positional Astronomy Library" +HOMEPAGE="http://github.com/Starlink/pal" +SRC_URI="https://github.com/Starlink/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc static-libs" +RDEPEND="sci-astronomy/erfa:=" +DEPEND="${RDEPEND}" + +src_configure() { + econf --without-starlink \ + --without-stardocs \ + --with-erfa \ + $(use_enable static-libs static) +} + +src_install() { + default + # remove cruft from non-fhs complient + rm -r "${ED}"usr/share/pal || die + rm -r "${ED}"usr/{docs,manifests,news} || die + use static-libs || prune_libtool_files --all +} -- cgit v1.2.3-18-g5258