components/ruby/mcollective/Makefile
author April Chin <april.chin@oracle.com>
Wed, 27 Jan 2016 17:18:04 -0800
changeset 5355 5ccf97c2878d
parent 5350 0bd2e97a57c6
child 5643 ccf9fb8a1db9
permissions -rw-r--r--
22611345 building ruby components should not force options which are optional
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     1
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     2
# CDDL HEADER START
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     3
#
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     7
#
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    10
# See the License for the specific language governing permissions
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    11
# and limitations under the License.
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    12
#
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    18
#
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    19
# CDDL HEADER END
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    20
#
5325
25836c8f6fb0 21230525 Add ruby-STOMP module to userland consolidation (fix build/copyright)
saurabh.vyas@oracle.com
parents: 5323
diff changeset
    21
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    22
#
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    24
5350
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    25
RUBY_VERSION=       2.1
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    26
RUBY_LIB_VERSION=   2.1.0
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    27
RUBY_VERSIONS=      2.1.0
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    28
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    29
COMPONENT_NAME=		mcollective
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    30
COMPONENT_VERSION=	2.8.2
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    31
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    32
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz 
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    34
    sha256:03e23d8e79ccee6394f0dd31456fb56c3ae4ca2891027062377a2aaa5b5c5fe9
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    35
COMPONENT_ARCHIVE_URL=	https://downloads.puppetlabs.com/mcollective/$(COMPONENT_ARCHIVE)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    36
COMPONENT_PROJECT_URL=  https://puppetlabs.com/mcollective
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    37
COMPONENT_BUGDB=	utility/mcollective
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    38
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    39
TPNO=                   23491
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    40
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    41
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    42
include $(WS_MAKE_RULES)/prep.mk
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/install.rb.mk
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    44
include $(WS_MAKE_RULES)/ips.mk
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    45
5355
5ccf97c2878d 22611345 building ruby components should not force options which are optional
April Chin <april.chin@oracle.com>
parents: 5350
diff changeset
    46
# --mandir option not supported by mcollective install.rb
5ccf97c2878d 22611345 building ruby components should not force options which are optional
April Chin <april.chin@oracle.com>
parents: 5350
diff changeset
    47
INSTALL_RB_MANDIR_OPTION =
5ccf97c2878d 22611345 building ruby components should not force options which are optional
April Chin <april.chin@oracle.com>
parents: 5350
diff changeset
    48
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    49
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    50
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    51
# common targets
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    52
build:		$(BUILD_64)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    53
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    54
install:	$(INSTALL_64)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    55
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    56
test:		$(NO_TESTS)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    57
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    58
system-test:    $(NO_TESTS)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    59
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    60
5350
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    61
REQUIRED_PACKAGES += runtime/ruby-21
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    62
REQUIRED_PACKAGES += system/core-os