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