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