summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/kea/package.py
blob: 58d7e5e5fa868e0d098d22bae3d37060576f4e29 (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
# Copyright 2013-2024 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.package import *
from spack.pkg.builtin.boost import Boost


class Kea(AutotoolsPackage):
    """Modern, open source DHCPv4 & DHCPv6 server."""

    homepage = "https://www.isc.org/kea/"
    url = "https://downloads.isc.org/isc/kea/1.6.2/kea-1.6.2.tar.gz"

    license("MPL-2.0")

    version("1.6.2", sha256="2af7336027143c3e98d8d1d44165b2c2cbb0252a92bd88f6dd4d2c6adb69d7b5")

    depends_on("m4", type="build")
    depends_on("autoconf", type="build")
    depends_on("automake", type="build")
    depends_on("libtool", type="build")
    depends_on("log4cplus")

    # TODO: replace this with an explicit list of components of Boost,
    # for instance depends_on('boost +filesystem')
    # See https://github.com/spack/spack/pull/22303 for reference
    depends_on(Boost.with_default_variants)