jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / library / brotli / Makefile
blob94334c61bd0b7bb81a68d0f8f0fe970fb14070df
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 Alexander Pyhalov
14 # Copyright 2019 Michal Nowak
15 # Copyright 2020 Andreas Wacknitz
18 BUILD_BITS= 64_and_32
19 BUILD_STYLE= cmake
20 include ../../../make-rules/shared-macros.mk
22 COMPONENT_NAME= brotli
23 COMPONENT_VERSION= 1.1.0
24 COMPONENT_SUMMARY= Library for generic-purpose lossless compression algorithm
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_PROJECT_URL= https://github.com/google/brotli
28 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/archive/v$(COMPONENT_VERSION).tar.gz
29 COMPONENT_ARCHIVE_HASH= sha256:e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff
30 COMPONENT_FMRI= library/brotli
31 COMPONENT_CLASSIFICATION= System/Libraries
32 COMPONENT_LICENSE= MIT
33 COMPONENT_LICENSE_FILE= LICENSE
35 include $(WS_MAKE_RULES)/common.mk
37 CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE=Release
38 CMAKE_OPTIONS += -DCMAKE_VERBOSE_MAKEFILE=1
40 CMAKE_OPTIONS.64 += -DLIB_SUFFIX=/$(MACH64)
42 # Strip times from test output, since they're always different
43 COMPONENT_TEST_TRANSFORMS += '-e "s%\([0-9\.]\)* sec%%"'
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES += system/library
47 REQUIRED_PACKAGES += system/library/math