diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-astronomy/pal |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-astronomy/pal')
-rw-r--r-- | sci-astronomy/pal/Manifest | 3 | ||||
-rw-r--r-- | sci-astronomy/pal/metadata.xml | 17 | ||||
-rw-r--r-- | sci-astronomy/pal/pal-0.9.7.ebuild | 32 |
3 files changed, 52 insertions, 0 deletions
diff --git a/sci-astronomy/pal/Manifest b/sci-astronomy/pal/Manifest new file mode 100644 index 000000000000..15287674ba7d --- /dev/null +++ b/sci-astronomy/pal/Manifest @@ -0,0 +1,3 @@ +DIST pal-0.9.7.tar.gz 1220443 SHA256 7151aa05c2e2456394cae2043feb96e64d779286fb31a27ff11ec3dd66021286 SHA512 d3f13e7ff321500acc71198240392fe9a3304c4142cf5b1f1c3950ddb1351dddac8565ef27b1c724d608cc1053d15647c777c4d0dc466a99a1b08b64e62ec37b WHIRLPOOL e6d9986e43e91f35ee47e6586d3595c62f12d4dabb54f3e9adb6d524fcf075e54e92c6e985005bd3c892a55fbcf469a7a49f0e7672e0923ae2b6f1a321b65c15 +EBUILD pal-0.9.7.ebuild 770 SHA256 4164b86edd9ea78da2972c83706ae50a2aba36f245c5d40b4052bc8f4cf52cae SHA512 71ef9e791db7a8c5bd137b3e363d17f243fc8d09f72cfe4da97d0fa21f4d87dce9a2518a27b43b28ada57593cb817e8ad3d4881b0c73f07ce1723ee028d03bca WHIRLPOOL d3a3da6dd27b73e28018360a5f8bab7d1e7f50e4122143da434af6428e36bdfe1219921279c31d452f78d7203b76190c3b5e1452fe8f004c8b91488dad3f8335 +MISC metadata.xml 641 SHA256 d3b80250ffa360a07327cccdcd452a30962003b6649fa7c509b762fc57075660 SHA512 30901b566b997f270d805e251b2beae284261ff30e8d0725abe6233ce082dc8723d59aa72157073636837573621db4823c9504c0caf8e8ae6084a03b0c3d9561 WHIRLPOOL 26b30473de92f977ef90a45ff602ce55a8747095f890aa49f8e4df9cb36891847d47c9309707c78d2efa36f8ffbafd9d70b9217e3f8e1ab9131c5b246e90bbf0 diff --git a/sci-astronomy/pal/metadata.xml b/sci-astronomy/pal/metadata.xml new file mode 100644 index 000000000000..9f20e974544a --- /dev/null +++ b/sci-astronomy/pal/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> + </maintainer> + <longdescription lang="en"> + 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. + </longdescription> + <upstream> + <remote-id type="github">Starlink/pal</remote-id> + </upstream> +</pkgmetadata> 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..c165f47d600a --- /dev/null +++ b/sci-astronomy/pal/pal-0.9.7.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="Positional Astronomy Library" +HOMEPAGE="https://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 +} |