# Copyright 2013-2023 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"]