diff options
author | Timo Heister <timo.heister@gmail.com> | 2019-12-22 22:36:47 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-12-22 21:36:47 -0600 |
commit | fa0d710626c34b69d36a0e1a0a85ffb4232a37d5 (patch) | |
tree | a0221ac2ff1a92263b2c16a4766fdd6bf80b3fd2 /var/spack | |
parent | ded5cbec7055f73125f36e330b5ed360b03da094 (diff) | |
download | spack-fa0d710626c34b69d36a0e1a0a85ffb4232a37d5.tar.gz spack-fa0d710626c34b69d36a0e1a0a85ffb4232a37d5.tar.bz2 spack-fa0d710626c34b69d36a0e1a0a85ffb4232a37d5.tar.xz spack-fa0d710626c34b69d36a0e1a0a85ffb4232a37d5.zip |
add new package : libdap4 (#14267)
Diffstat (limited to 'var/spack')
-rw-r--r-- | var/spack/repos/builtin/packages/libdap4/package.py | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libdap4/package.py b/var/spack/repos/builtin/packages/libdap4/package.py new file mode 100644 index 0000000000..9568a23be2 --- /dev/null +++ b/var/spack/repos/builtin/packages/libdap4/package.py @@ -0,0 +1,40 @@ +# 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 Libdap4(AutotoolsPackage): + """ + libdap4 is is a c++ library to serve as a client for the OPeNDAP framework + that simplifies all aspects of scientific data networking and provides + software which makes local data accessible to remote locations regardless + of local storage format. + """ + + homepage = "https://www.opendap.org/" + url = "https://github.com/OPENDAP/libdap4/archive/version-3.20.4.tar.gz" + + maintainers = ['tjhei'] + + version('3.20.4', sha256='c39fa310985cc8963029ad0d0aba784e7dbf1f70c566bd7ae58242f1bb06d24a') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + depends_on('bison', type='build') + + depends_on('flex') + depends_on('curl') + depends_on('libxml2') + depends_on('libuuid') + + def configure_args(self): + # libxml2 exports ./include/libxml2/ instead of ./include/, which we + # need, so grab this path manually: + libxml2_include = self.spec['libxml2'].prefix.include + args = ['CPPFLAGS=-I{0}'.format(libxml2_include)] + return args |