author | Rich Burridge <rich.burridge@oracle.com> |
Tue, 20 Sep 2016 16:27:38 -0700 | |
changeset 6938 | 64f04bb4c3c3 |
parent 6681 | ccbd9bc81b18 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
5323 | 1 |
|
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5350
diff
changeset
|
21 |
|
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5350
diff
changeset
|
22 |
# |
5325
25836c8f6fb0
21230525 Add ruby-STOMP module to userland consolidation (fix build/copyright)
saurabh.vyas@oracle.com
parents:
5323
diff
changeset
|
23 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
5323 | 24 |
# |
25 |
include ../../../make-rules/shared-macros.mk |
|
5816
19f33e9a0aee
23007367 MCollective & STOMP shouldn't have $RUBY_VER in their pkg name
saurabh.vyas@oracle.com
parents:
5682
diff
changeset
|
26 |
include ../../../make-rules/ruby.mk |
5323 | 27 |
|
5350
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
28 |
# |
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
29 |
# Override the inherited RUBY values in shared-macros.mk to be |
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
30 |
# a later release. |
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
31 |
# |
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
32 |
RUBY_VERSION= 2.1 |
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
33 |
RUBY_LIB_VERSION= 2.1.0 |
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
34 |
RUBY_VERSIONS= 2.1.0 |
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
35 |
|
5323 | 36 |
COMPONENT_NAME= stomp |
37 |
COMPONENT_VERSION= 1.3.4 |
|
38 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
39 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).gem |
|
40 |
COMPONENT_ARCHIVE_HASH= \ |
|
41 |
sha256:adc77e8760236bd6d751991e0a4fc2bfd5443fc45dd5cfedb0d8c99273bc5897 |
|
42 |
COMPONENT_ARCHIVE_URL= http://rubygems.org/gems/$(COMPONENT_ARCHIVE) |
|
43 |
COMPONENT_PROJECT_URL= https://rubygems.org/gems/stomp/ |
|
44 |
COMPONENT_BUGDB= utility/ruby-stomp |
|
45 |
||
46 |
TPNO= 23495 |
|
47 |
||
48 |
# No gemspec is shipped with the gem. Create one |
|
49 |
COMPONENT_POST_UNPACK_ACTION= \ |
|
5350
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
50 |
$(GEM) spec --ruby $(COMPONENT_ARCHIVE) > $(SOURCE_DIR)/$(GEMSPEC) |
5323 | 51 |
|
5325
25836c8f6fb0
21230525 Add ruby-STOMP module to userland consolidation (fix build/copyright)
saurabh.vyas@oracle.com
parents:
5323
diff
changeset
|
52 |
include $(WS_MAKE_RULES)/prep.mk |
25836c8f6fb0
21230525 Add ruby-STOMP module to userland consolidation (fix build/copyright)
saurabh.vyas@oracle.com
parents:
5323
diff
changeset
|
53 |
include $(WS_MAKE_RULES)/ips.mk |
25836c8f6fb0
21230525 Add ruby-STOMP module to userland consolidation (fix build/copyright)
saurabh.vyas@oracle.com
parents:
5323
diff
changeset
|
54 |
include $(WS_MAKE_RULES)/gem.mk |
25836c8f6fb0
21230525 Add ruby-STOMP module to userland consolidation (fix build/copyright)
saurabh.vyas@oracle.com
parents:
5323
diff
changeset
|
55 |
|
5323 | 56 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
57 |
||
58 |
# common targets |
|
6681
ccbd9bc81b18
22961636 ruby components have incorrect build target BUILD_64 in their Makefile
Jingning Ji <jingning.ji@oracle.com>
parents:
5816
diff
changeset
|
59 |
build: $(BUILD_NO_ARCH) |
5323 | 60 |
|
6681
ccbd9bc81b18
22961636 ruby components have incorrect build target BUILD_64 in their Makefile
Jingning Ji <jingning.ji@oracle.com>
parents:
5816
diff
changeset
|
61 |
install: $(INSTALL_NO_ARCH) |
5323 | 62 |
|
63 |
test: $(NO_TESTS) |
|
64 |
||
65 |
system-test: $(NO_TESTS) |
|
66 |
||
67 |
||
68 |
REQUIRED_PACKAGES += network/amqp/rabbitmq |
|
5350
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
69 |
REQUIRED_PACKAGES += runtime/ruby-21 |
5323 | 70 |
REQUIRED_PACKAGES += system/core-os |