bind: update to 9.10.4-P6
[unleashed-userland.git] / components / libical / Makefile
blobad14670a9408e51d9f2ad844d384072d9f62cea9
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
5 # 1.0 of the CDDL.
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
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libical
19 COMPONENT_VERSION= 1.0
20 COMPONENT_FMRI= library/libical
21 COMPONENT_SUMMARY= Libical is an Open Source implementation of the IETF's iCalendar Calendaring and Scheduling protocols
22 COMPONENT_CLASSIFICATION=System/Libraries
23 COMPONENT_PROJECT_URL= http://sourceforge.net/projects/freeassociation/
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_HASH= \
27 sha256:7c39b3448e4927a2de2775d853f52b3aaeb42400970a3db0b01a78987e6ec0b7
28 COMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/freeassociation/files/libical/libical-1.0/$(COMPONENT_ARCHIVE)
29 COMPONENT_BUGDB= $(COMPONENT_FMRI)
30 COMPONENT_LICENSE= LGPLv2.1
31 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
34 include $(WS_MAKE_RULES)/prep.mk
35 include $(WS_MAKE_RULES)/cmake.mk
36 include $(WS_MAKE_RULES)/ips.mk
38 CMAKE_OPTIONS+= -DCMAKE_BUILD_TYPE=Release
39 CMAKE_OPTIONS+= -DBUILD_SHARED_LIBS=On
40 CMAKE_OPTIONS+= -DICAL_ERRORS_ARE_FATAL=false
41 CMAKE_OPTIONS.64 += -DLIB_SUFFIX=/$(MACH64)
43 COMPONENT_TEST_CMD = ctest
44 COMPONENT_TEST_TARGETS =
46 $(INSTALL_32): $(INSTALL_64)
48 build: $(BUILD_32_and_64)
50 install: $(INSTALL_32_and_64)
52 test: $(TEST_32_and_64)