3136N/A
1487N/A# CDDL HEADER START
1487N/A#
1487N/A# The contents of this file are subject to the terms of the
1487N/A# Common Development and Distribution License (the "License").
1487N/A# You may not use this file except in compliance with the License.
1487N/A#
1487N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1487N/A# or http://www.opensolaris.org/os/licensing.
1487N/A# See the License for the specific language governing permissions
1487N/A# and limitations under the License.
1487N/A#
1487N/A# When distributing Covered Code, include this CDDL HEADER in each
1487N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1487N/A# If applicable, add the following below this CDDL HEADER, with the
1487N/A# fields enclosed by brackets "[]" replaced with your own identifying
1487N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1487N/A#
1487N/A# CDDL HEADER END
1487N/A#
5680N/A
5680N/A#
5436N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
1487N/A#
3136N/Ainclude ../../../make-rules/shared-macros.mk
5436N/ARUBY_VERSION=2.1
5436N/ARUBY_LIB_VERSION=2.1.0
5436N/ARUBY_VERSIONS=2.1.0
1487N/A
1487N/ACOMPONENT_NAME= facter
5727N/ACOMPONENT_VERSION= 2.4.6
1487N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3136N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).gem
1487N/ACOMPONENT_ARCHIVE_HASH= \
5727N/A sha256:56ffc5fbcd550fcdb4788bc4d7fd0199bff69937d6df1e5a1f61c92d143d78fe
3136N/ACOMPONENT_ARCHIVE_URL= http://rubygems.org/gems/$(COMPONENT_SRC).gem
3136N/ACOMPONENT_PROJECT_URL= http://puppetlabs.com/facter
1487N/ACOMPONENT_BUGDB= utility/puppet
1487N/A
5727N/ATPNO= 27310
3136N/A
3136N/A# No gemspec is shipped with the gem. Create one
3136N/ACOMPONENT_POST_UNPACK_ACTION= \
5436N/A $(GEM) spec $(COMPONENT_ARCHIVE) --ruby > $(SOURCE_DIR)/$(GEMSPEC)
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
3817N/Ainclude $(WS_MAKE_RULES)/gem.mk
5436N/Ainclude $(WS_MAKE_RULES)/ruby.mk
1487N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
1487N/A# common targets
6679N/Abuild: $(BUILD_NO_ARCH)
1487N/A
6679N/Ainstall: $(INSTALL_NO_ARCH)
1487N/A
1487N/A# facter requires the installation of the following rubygems to run
1487N/A# the unittests: rspec rspec-expectations mocha rake rack hiera
1487N/A# Disable the tests until these rubygems are available.
3136N/Atest: $(NO_TESTS)
1487N/A
4337N/Asystem-test: $(NO_TESTS)
4337N/A
1487N/A
5436N/AREQUIRED_PACKAGES += runtime/ruby-21
3817N/AREQUIRED_PACKAGES += system/core-os