1 # This file and its contents are supplied under the terms of the
2 # Common Development and Distribution License ("CDDL"). You may
3 # only use this file in accordance with the terms of the CDDL.
5 # A full copy of the text of the CDDL should have accompanied this
6 # source. A copy of the CDDL is also available via the Internet at
7 # http://www.illumos.org/license/CDDL.
11 # Copyright 2017 Alexander Pyhalov
14 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_VERSION
= 0.4.0
19 COMPONENT_SUMMARY
= Markdown lint tool
20 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
21 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).gem
22 COMPONENT_ARCHIVE_HASH
= \
23 sha256
:e2de244a72ac4e90bd9045582fe7cfed84b436342a127dd6a5fb9c2b016fa637
24 COMPONENT_ARCHIVE_URL
= http
://rubygems.org
/gems
/$(COMPONENT_SRC
).gem
25 COMPONENT_PROJECT_URL
= https
://github.com
/markdownlint
/markdownlint
26 COMPONENT_FMRI
= developer
/documentation-tool
/mdl
27 COMPONENT_CLASSIFICATION
= System
/Text Tools
28 COMPONENT_LICENSE
= MIT
29 COMPONENT_LICENSE_FILE
= LICENSE.txt
31 # No gemspec is shipped with the gem. Create one
32 COMPONENT_POST_UNPACK_ACTION
= \
33 $(GEM
) spec
$(USERLAND_ARCHIVES
)/$(COMPONENT_ARCHIVE
) --ruby
> $(SOURCE_DIR
)/$(GEMSPEC
)
35 include $(WS_MAKE_RULES
)/prep.mk
36 include $(WS_MAKE_RULES
)/ips.mk
37 include $(WS_MAKE_RULES
)/gem.mk
38 include $(WS_MAKE_RULES
)/ruby.mk
40 ASLR_MODE
= $(ASLR_NOT_APPLICABLE
)
45 install: $(INSTALL_32
)
49 REQUIRED_PACKAGES
+= runtime
/ruby-23