summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/log4cxx/package.py
blob: 906b66be3216e8b5dea88e36d0ae96f1b0a1933d (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
# Copyright 2013-2021 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 Log4cxx(CMakePackage):
    """A C++ port of Log4j"""

    homepage = "https://logging.apache.org/log4cxx/latest_stable/"
    url      = "https://dlcdn.apache.org/logging/log4cxx/0.12.0/apache-log4cxx-0.12.0.tar.gz"

    maintainers = ['nicmcd']

    version('0.12.0', sha256='bd5b5009ca914c8fa7944b92ea6b4ca6fb7d146f65d526f21bf8b3c6a0520e44')

    depends_on('cmake@3.13:', type='build')

    depends_on('apr-util')
    depends_on('apr')
    depends_on('zlib')
    depends_on('zip')

    def cmake_args(self):
        return [self.define('BUILD_TESTING', 'off')]