components/ruby/stomp/Makefile
changeset 5350 0bd2e97a57c6
parent 5325 25836c8f6fb0
child 5682 94c0ca64c022
equal deleted inserted replaced
5349:aad9f1baf245 5350:0bd2e97a57c6
    20 #
    20 #
    21 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../../make-rules/shared-macros.mk
    23 include ../../../make-rules/shared-macros.mk
    24 
    24 
       
    25 #
       
    26 # Override the inherited RUBY values in shared-macros.mk to be
       
    27 # a later release.
       
    28 # 
       
    29 RUBY_VERSION=       2.1
       
    30 RUBY_LIB_VERSION=   2.1.0
       
    31 RUBY_VERSIONS=      2.1.0
       
    32 
    25 COMPONENT_NAME=		stomp
    33 COMPONENT_NAME=		stomp
    26 COMPONENT_VERSION=	1.3.4
    34 COMPONENT_VERSION=	1.3.4
    27 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    35 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).gem
    36 COMPONENT_ARCHIVE= $(COMPONENT_SRC).gem
    29 COMPONENT_ARCHIVE_HASH=	\
    37 COMPONENT_ARCHIVE_HASH=	\
    34 
    42 
    35 TPNO=                   23495
    43 TPNO=                   23495
    36 
    44 
    37 # No gemspec is shipped with the gem. Create one
    45 # No gemspec is shipped with the gem. Create one
    38 COMPONENT_POST_UNPACK_ACTION= \
    46 COMPONENT_POST_UNPACK_ACTION= \
    39     $(GEM) spec $(COMPONENT_ARCHIVE) > $(SOURCE_DIR)/$(GEMSPEC)
    47     $(GEM) spec --ruby $(COMPONENT_ARCHIVE) > $(SOURCE_DIR)/$(GEMSPEC)
    40 
    48 
    41 include $(WS_MAKE_RULES)/prep.mk
    49 include $(WS_MAKE_RULES)/prep.mk
    42 include $(WS_MAKE_RULES)/ips.mk
    50 include $(WS_MAKE_RULES)/ips.mk
    43 include $(WS_MAKE_RULES)/gem.mk
    51 include $(WS_MAKE_RULES)/gem.mk
    44 
    52 
    53 
    61 
    54 system-test:    $(NO_TESTS)
    62 system-test:    $(NO_TESTS)
    55 
    63 
    56 
    64 
    57 REQUIRED_PACKAGES += network/amqp/rabbitmq
    65 REQUIRED_PACKAGES += network/amqp/rabbitmq
    58 REQUIRED_PACKAGES += runtime/ruby-19
    66 REQUIRED_PACKAGES += runtime/ruby-21
    59 REQUIRED_PACKAGES += system/core-os
    67 REQUIRED_PACKAGES += system/core-os