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 2017 Carsten Grzemba
18 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_VERSION
= 0.27.7
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
35 TEST_TARGET
= $(NO_TESTS
)
36 include $(WS_MAKE_RULES
)/common.mk
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