openssl-1.1: add patches for CVE-2024-2511 and CVE-2024-4741
[oi-userland.git] / components / library / exiv2 / Makefile
blobf50b00c8bcbf946866ec502179c97006397afd3e
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 2017 Carsten Grzemba
16 BUILD_BITS= 64_and_32
17 BUILD_STYLE= cmake
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= exiv2
21 COMPONENT_VERSION= 0.27.7
22 COMPONENT_REVISION= 1
23 COMPONENT_SUMMARY= Image metadata library and tools
24 COMPONENT_PROJECT_URL= https://www.exiv2.org
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:551b1266e3aabd321f6d555dccd776128ee449d5039feafee927a1f33f7a9753
28 COMPONENT_ARCHIVE_URL= https://github.com/Exiv2/exiv2/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz
29 COMPONENT_FMRI= image/library/exiv2
30 COMPONENT_CLASSIFICATION= System/Multimedia Libraries
31 COMPONENT_LICENSE= GPLv2
32 COMPONENT_LICENSE_FILE= COPYING
34 # We don't have GTest
35 TEST_TARGET= $(NO_TESTS)
36 include $(WS_MAKE_RULES)/common.mk
38 # We don't have GTest
39 #CMAKE_OPTIONS += -DEXIV2_BUILD_UNIT_TESTS=On
41 # iconv-0.27 has an outdated, erratic FindIconv.cmake, remove this:
42 # See https://www.illumos.org/issues/13824#change-40077 for details.
43 COMPONENT_POST_UNPACK_ACTION += \
44 $(RM) $(SOURCE_DIR)/cmake/FindIconv.cmake
46 LDFLAGS += -lnsl -lsocket
48 # Auto-generated dependencies
49 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
50 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
51 REQUIRED_PACKAGES += library/expat
52 REQUIRED_PACKAGES += library/zlib
53 REQUIRED_PACKAGES += system/library
54 REQUIRED_PACKAGES += system/library/math