diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-08-27 09:45:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-26 20:45:27 -0500 |
commit | 369e691ec20f1923be72a1dfd403248eba43774a (patch) | |
tree | 515424fc064796294bbc633a880c228daf934edc | |
parent | 67e72bf1f58d7866c36fffb9052290fbc20a6cb2 (diff) | |
download | spack-369e691ec20f1923be72a1dfd403248eba43774a.tar.gz spack-369e691ec20f1923be72a1dfd403248eba43774a.tar.bz2 spack-369e691ec20f1923be72a1dfd403248eba43774a.tar.xz spack-369e691ec20f1923be72a1dfd403248eba43774a.zip |
Add new package: libfastjson (#18282)
-rw-r--r-- | var/spack/repos/builtin/packages/libfastjson/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libfastjson/package.py b/var/spack/repos/builtin/packages/libfastjson/package.py new file mode 100644 index 0000000000..aa2cadfdc3 --- /dev/null +++ b/var/spack/repos/builtin/packages/libfastjson/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2020 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 Libfastjson(AutotoolsPackage): + """a fast json library for C.""" + + homepage = "https://github.com/rsyslog/libfastjson" + url = "https://github.com/rsyslog/libfastjson/archive/v0.99.8.tar.gz" + + version('0.99.8', sha256='7e49057b26a5a9e3c6623e024f95f9fd9a14b571b9150aeb89d6d475fc3633e3') + version('0.99.7', sha256='a142a6e5fa5c9c4ac32615c42fc663a1a14bff305c922e55192b6abf7d1ce1d8') + version('0.99.6', sha256='617373e5205c84b5f674354df6ee9cba53ef8a227f0d1aa928666ed8a16d5547') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') |