2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2015 Alexander Pyhalov
13 # Copyright (c) 2019 Michal Nowak
14 # Copyright (c) 2021 2023 Andreas Wacknitz
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= libebml
22 COMPONENT_VERSION
= 1.4.5
23 COMPONENT_SUMMARY
= Extensible Binary Markup Language
24 COMPONENT_PROJECT_URL
= https
://matroska-org.github.io
/libebml
/
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:4971640b0592da29c2d426f303e137a9b0b3d07e1b81d069c1e56a2f49ab221b
28 COMPONENT_ARCHIVE_URL
= https
://dl.matroska.org
/downloads
/libebml
/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= library
/libebml
30 COMPONENT_CLASSIFICATION
= System
/Libraries
31 COMPONENT_LICENSE
= LGPLv2.1
32 COMPONENT_LICENSE_FILE
= LICENSE.LGPL
34 TEST_TARGET
= $(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
37 CMAKE_OPTIONS
+= -DBUILD_SHARED_LIBS
:BOOL
=ON
38 CMAKE_OPTIONS
+= -DSTATIC_BUILD
:BOOL
=OFF
40 # Auto-generated dependencies
41 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
42 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
43 REQUIRED_PACKAGES
+= system
/library