python/cmd2: update to 2.5.6
[oi-userland.git] / components / ruby / tomlrb / Makefile
blobd3f1bf2d9dedb1c2feefd1433ca3428e40c50e7f
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= tomlrb
21 COMPONENT_VERSION= 2.0.1
22 COMPONENT_SUMMARY= A Racc based TOML Ruby parser
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).gem
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:4fcc546118fa73a556f2d8d9a4a121fa0cfc7a99d990168ac9f4fbdbcb620329
27 COMPONENT_ARCHIVE_URL= https://rubygems.org/downloads/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL= https://github.com/fbernier/tomlrb
29 COMPONENT_FMRI= library/ruby/tomlrb
30 COMPONENT_CLASSIFICATION= Development/Ruby
31 COMPONENT_LICENSE= MIT
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