summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libical/package.py
blob: 8ba00a19efcf409202f6fbf5fd040d9055b1a1f4 (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
# 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 *


class Libical(CMakePackage):
    """Libical - an implementation of iCalendar protocols and data formats."""

    homepage = "https://github.com/libical/libical"
    url = "https://github.com/libical/libical/archive/v3.0.8.tar.gz"

    license("LGPL-2.1-only OR MPL-2.0")

    version("3.0.11", sha256="1e6c5e10c5a48f7a40c68958055f0e2759d9ab3563aca17273fe35a5df7dbbf1")
    version("3.0.8", sha256="09fecacaf75ba5a242159e3a9758a5446b5ce4d0ab684f98a7040864e1d1286f")

    depends_on("cmake@3.1.0:", type="build")
    depends_on("perl", type="build")
    depends_on("pkgconfig", type="build")
    depends_on("glib@2.32:")
    depends_on("icu4c")
    depends_on("libxml2@2.7.3:")

    def cmake_args(self):
        return ["-DENABLE_GTK_DOC=OFF"]