From 063f5b63dabefda37b15b1fef8cafe4d7acda308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=A5=E7=BE=8E=E7=8C=9E=E7=8C=81?= Date: Wed, 6 Mar 2019 07:40:39 +0800 Subject: [PATCH] New package: erfa (#10763) --- .../repos/builtin/packages/erfa/package.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/erfa/package.py diff --git a/var/spack/repos/builtin/packages/erfa/package.py b/var/spack/repos/builtin/packages/erfa/package.py new file mode 100644 index 0000000000..870c8a3427 --- /dev/null +++ b/var/spack/repos/builtin/packages/erfa/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Erfa(AutotoolsPackage): + """ERFA(Essential Routines for Fundamental Astronomy) + is a C library containing key algorithms for astronomy.""" + + homepage = "https://github.com/liberfa/erfa" + url = "https://github.com/liberfa/erfa/archive/v1.4.0.tar.gz" + + version('1.4.0', sha256='90113f18a1a05a3d26970a95b70a71ec52d71156b967ffd6c26dd1626d92e946') + + depends_on('m4', type='build') + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build')