gettext: fix build with gcc-14; enhance test environment
[oi-userland.git] / components / ruby / rexml / Makefile
blob1aea4d04ae33e2f7abfe5bb1aea5d5ec9a33954d
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 2021 Alexander Pyhalov
15 BUILD_BITS=32
16 BUILD_STYLE=gem
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= rexml
21 COMPONENT_VERSION= 3.2.5
22 COMPONENT_SUMMARY= An XML toolkit for Ruby
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).gem
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:a33c3bf95fda7983ec7f05054f3a985af41dbc25a0339843bd2479e93cabb123
27 COMPONENT_ARCHIVE_URL= https://rubygems.org/downloads/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL= https://github.com/ruby/rexml
29 COMPONENT_FMRI= library/ruby/rexml
30 COMPONENT_CLASSIFICATION= Development/Ruby
31 COMPONENT_LICENSE= BSD
32 COMPONENT_LICENSE_FILE= LICENSE.txt
34 TEST_TARGET= $(NO_TESTS)
35 include $(WS_MAKE_RULES)/common.mk
37 # No gemspec is shipped with the gem. Create one
38 COMPONENT_POST_UNPACK_ACTION= \
39 $(GEM) spec $(USERLAND_ARCHIVES)/$(COMPONENT_ARCHIVE) --ruby > $(SOURCE_DIR)/$(GEMSPEC)
41 REQUIRED_PACKAGES += runtime/ruby-23