4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
23 include ..
/..
/..
/make-rules
/shared-macros.mk
26 COMPONENT_VERSION
= 1.3.4
28 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
29 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).gem
30 COMPONENT_ARCHIVE_HASH
= \
31 sha256
:a3c85385ddda64916d453efeeb965151dc2454428d88f04f40d539559af27020
32 COMPONENT_ARCHIVE_URL
= http
://rubygems.org
/gems
/$(COMPONENT_SRC
).gem
33 COMPONENT_PROJECT_URL
= https
://github.com
/puppetlabs
/hiera
34 COMPONENT_FMRI
= library
/ruby
/hiera
35 COMPONENT_SUMMARY
= Ruby hierarchical data store
36 COMPONENT_DESCRIPTION
= Hiera is a key
/value lookup tool for configuration data. By default
, Hiera supports a backend datastore using YAML or JSON
37 COMPONENT_CLASSIFICATION
= Development
/Ruby
38 COMPONENT_LICENSE
= Apache v2.0
39 COMPONENT_LICENSE_FILE
= hiera.license
41 # No gemspec is shipped with the gem. Create one
42 COMPONENT_POST_UNPACK_ACTION
= \
43 $(GEM
) spec
$(USERLAND_ARCHIVES
)/$(COMPONENT_ARCHIVE
) --ruby
> $(SOURCE_DIR
)/$(GEMSPEC
)
45 include $(WS_MAKE_RULES
)/prep.mk
46 include $(WS_MAKE_RULES
)/ips.mk
47 include $(WS_MAKE_RULES
)/gem.mk
48 include $(WS_MAKE_RULES
)/ruby.mk
50 ASLR_MODE
= $(ASLR_NOT_APPLICABLE
)
54 install: $(INSTALL_32
)
58 REQUIRED_PACKAGES
+= runtime
/ruby-23