diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-24 09:06:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 20:06:23 -0500 |
commit | 72e03161e42addb8468a3c9a311c970126539709 (patch) | |
tree | eef95899a7b6baf64ec52d57ac99a921db895c7d /var | |
parent | 3b9ba5a9aba583ed1e886a3a87527c19086dc42d (diff) | |
download | spack-72e03161e42addb8468a3c9a311c970126539709.tar.gz spack-72e03161e42addb8468a3c9a311c970126539709.tar.bz2 spack-72e03161e42addb8468a3c9a311c970126539709.tar.xz spack-72e03161e42addb8468a3c9a311c970126539709.zip |
Add new package: xmlrpc-c (#18828)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/xmlrpc-c/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/xmlrpc-c/package.py b/var/spack/repos/builtin/packages/xmlrpc-c/package.py new file mode 100644 index 0000000000..758be25f76 --- /dev/null +++ b/var/spack/repos/builtin/packages/xmlrpc-c/package.py @@ -0,0 +1,21 @@ +# 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 XmlrpcC(AutotoolsPackage): + """Programming library for writing an XML-RPC server or client in + C or C++.""" + + homepage = "https://sourceforge.net/projects/xmlrpc-c/" + url = "https://sourceforge.net/projects/xmlrpc-c/files/Xmlrpc-c%20Super%20Stable/1.51.06/xmlrpc-c-1.51.06.tgz" + + version('1.51.06', sha256='06dcd87d9c88374559369ffbe83b3139cf41418c1a2d03f20e08808085f89fd0') + + @when('target=aarch64:') + def configure_args(self): + args = ['--build=arm-linux'] + return args |