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