firefox: update to 135.0
[oi-userland.git] / components / database / opensearch / Makefile
blob07d0a1b45f33be9918fa308feffe193af49d43fc
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 2022 Niklas Poslovski
15 BUILD_STYLE= justmake
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= opensearch
19 COMPONENT_VERSION= 2.7.0
20 COMPONENT_REVISION= 2
21 COMPONENT_SUMMARY= Open source distributed and RESTful search engine
22 COMPONENT_PROJECT_URL= https://opensearch.org
23 COMPONENT_SRC= OpenSearch-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_URL= https://github.com/opensearch-project/OpenSearch/archive/refs/tags/$(COMPONENT_VERSION).tar.gz
26 COMPONENT_ARCHIVE_HASH= sha256:b002039009dce94fc25a1cbeade4f35a725b517f717b6bbab95b42dfbb59f20b
27 COMPONENT_FMRI= database/opensearch
28 COMPONENT_CLASSIFICATION= System/Databases
29 COMPONENT_LICENSE= APACHE 2.0
30 COMPONENT_LICENSE_FILE= LICENSE.txt
32 TEST_TARGET= $(NO_TESTS)
33 include $(WS_MAKE_RULES)/common.mk
35 # Build fails with Java 21
36 JAVA_VERSION = 17
38 COMPONENT_BUILD_ACTION = cd $(@D); $(ENV) PATH="$(PATH)" GRADLE_USER_HOME=$(@D)/.gradle ./gradlew localDistro
40 COMPONENT_INSTALL_ACTION = $(ENV) DIR=$(@D) COMPONENT_VERSION=$(COMPONENT_VERSION) PROTO_DIR=$(PROTO_DIR) files/install.sh
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES += SUNWcs