Makefile revision 3996
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# CDDL HEADER START
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# The contents of this file are subject to the terms of the
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# Common Development and Distribution License (the "License").
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# You may not use this file except in compliance with the License.
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# See the License for the specific language governing permissions
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# and limitations under the License.
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# When distributing Covered Code, include this CDDL HEADER in each
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# If applicable, add the following below this CDDL HEADER, with the
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# CDDL HEADER END
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync sha256:9114c63108c58e39db84937cb8f7e1add3dcbaa08fd730f631de6a7f64a3c360
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsyncCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)downloads/puppet/$(COMPONENT_ARCHIVE)
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# puppet requires facter and hiera as part of the install phase
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsyncCOMPONENT_INSTALL_ENV += RUBYLIB="$(COMPONENT_DIR)/../facter/build/$(MACH64)/lib:$(COMPONENT_DIR)/../hiera/build/$(MACH64)/lib"
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# set the bindir to /usr/sbin
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# pass Ruby values onto the package manfiest
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# common targets
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync # Ruby extension for auditing
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# make sure facter and hiera are installed first
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsyncinstall: ../facter/build/$(MACH64)/.installed ../hiera/build/$(MACH64)/.installed $(INSTALL_64)
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# puppet requires the installation of the following rubygems to run
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# the unittests: rspec rspec-expectations mocha rack rgen
a2760a4d593af57a19ec32cdfd1723b68495df8cvboxsync# Disable the tests until these rubygems are available.