blob: c05cdc15d223ba07239ea6c31b3c8a1412347bc1 (
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
|
# 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(AutotoolsPackage):
"""A C++ port of Log4j"""
homepage = "https://logging.apache.org/log4cxx/latest_stable/"
url = "http://mirror.netcologne.de/apache.org/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz"
version('0.10.0', sha256='0de0396220a9566a580166e66b39674cb40efd2176f52ad2c65486c99c920c8c')
depends_on('apr-util')
depends_on('apr')
depends_on('zip')
build_directory = 'spack-build'
# patches from https://aur.archlinux.org/packages/log4cxx/
patch('log4cxx-0.10.0-missing_includes.patch')
patch('log4cxx-0.10.0-narrowing-fixes-from-upstream.patch')
def configure_args(self):
args = ['--disable-static']
return args
|