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-parser-gfm
21 COMPONENT_VERSION
= 1.0.1
22 COMPONENT_SUMMARY
= kramdown parser for the GFM dialect of Markdown
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).gem
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:114600c19bb1a71f0f45414921eb74e4dee84010e05b59294d8dc27b9550767a
27 COMPONENT_ARCHIVE_URL
= https
://rubygems.org
/downloads
/$(COMPONENT_ARCHIVE
)
28 COMPONENT_PROJECT_URL
= https
://kramdown.gettalong.org
/
29 COMPONENT_FMRI
= library
/ruby
/kramdown-parser-gfm
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