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
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= kramdown
21 COMPONENT_VERSION
= 2.3.1
22 COMPONENT_SUMMARY
= Ruby Markdown superset converter
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).gem
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:59e938cfa42a3d6169b295727fe09c4c91d742336c8fbd1042529f4db664ab49
27 COMPONENT_ARCHIVE_URL
= https
://rubygems.org
/downloads
/$(COMPONENT_ARCHIVE
)
28 COMPONENT_PROJECT_URL
= https
://kramdown.gettalong.org
/
29 COMPONENT_FMRI
= library
/ruby
/kramdown
30 COMPONENT_CLASSIFICATION
= Development
/Ruby
31 COMPONENT_LICENSE
= MIT
32 COMPONENT_LICENSE_FILE
= COPYING
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