components/ruby/facter/Makefile
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3401 bd976a0fa74e
equal deleted inserted replaced
3994:3781477accf3 3996:20c0f21bbe1e
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2013, 2015, 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 COMPONENT_NAME=		facter
    25 COMPONENT_NAME=		facter
    26 COMPONENT_VERSION=	2.1.0
    26 COMPONENT_VERSION=	2.1.0
    36 
    36 
    37 # No gemspec is shipped with the gem. Create one
    37 # No gemspec is shipped with the gem. Create one
    38 COMPONENT_POST_UNPACK_ACTION= \
    38 COMPONENT_POST_UNPACK_ACTION= \
    39     $(GEM) spec $(COMPONENT_ARCHIVE) > $(SOURCE_DIR)/$(GEMSPEC)
    39     $(GEM) spec $(COMPONENT_ARCHIVE) > $(SOURCE_DIR)/$(GEMSPEC)
    40 
    40 
    41 include $(WS_TOP)/make-rules/prep.mk
    41 include $(WS_MAKE_RULES)/prep.mk
    42 include $(WS_TOP)/make-rules/ips.mk
    42 include $(WS_MAKE_RULES)/ips.mk
    43 include $(WS_TOP)/make-rules/gem.mk
    43 include $(WS_MAKE_RULES)/gem.mk
    44 
    44 
    45 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    45 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    46 
    46 
    47 # common targets
    47 # common targets
    48 build:		$(BUILD_64)
    48 build:		$(BUILD_64)
    52 # facter requires the installation of the following rubygems to run
    52 # facter requires the installation of the following rubygems to run
    53 # the unittests:  rspec rspec-expectations mocha rake rack hiera
    53 # the unittests:  rspec rspec-expectations mocha rake rack hiera
    54 # Disable the tests until these rubygems are available.
    54 # Disable the tests until these rubygems are available.
    55 test:		$(NO_TESTS)
    55 test:		$(NO_TESTS)
    56 
    56 
    57 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    58 
    57 
    59 include $(WS_TOP)/make-rules/depend.mk
    58 REQUIRED_PACKAGES += runtime/ruby-19
       
    59 REQUIRED_PACKAGES += system/core-os