blob: 9568a23be232e6f6623b05596fee1c099ae99102 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
|