2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Alexander Pyhalov
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= libical
21 COMPONENT_VERSION
= 3.0.19
22 COMPONENT_SUMMARY
= libical is an Open Source implementation of the IETF
's iCalendar Calendaring and Scheduling protocols
23 COMPONENT_PROJECT_URL= https://libical.github.io/libical
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_URL= https://github.com/libical/libical/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:6a1e7f0f50a399cbad826bcc286ce10d7151f3df7cc103f641de15160523c73f
28 COMPONENT_FMRI= library/libical
29 COMPONENT_CLASSIFICATION= System/Libraries
30 COMPONENT_LICENSE= LGPLv2.1
31 COMPONENT_LICENSE_FILE= LICENSE.LGPL21.txt
33 include $(WS_MAKE_RULES)/common.mk
35 CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE=Release
36 CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=On
37 CMAKE_OPTIONS += -DICAL_ERRORS_ARE_FATAL=false
38 CMAKE_OPTIONS += -DLIB_SUFFIX=/$(MACH64)
39 CMAKE_OPTIONS += -DGOBJECT_INTROSPECTION=true
40 # Always use our own timezone data.
41 CMAKE_OPTIONS += -DUSE_BUILTIN_TZDATA=false
42 CMAKE_OPTIONS += -DICAL_GLIB=true
43 CMAKE_OPTIONS += -DICAL_GLIB_VAPI=true
45 COMPONENT_TEST_TARGETS=
47 # Auto-generated dependencies
48 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
49 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
50 REQUIRED_PACKAGES += $(ICU_LIBRARY_PKG)
51 REQUIRED_PACKAGES += database/berkeleydb-5
52 REQUIRED_PACKAGES += library/glib2
53 REQUIRED_PACKAGES += library/libxml2
54 REQUIRED_PACKAGES += system/library