Makefile revision 5554
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/A# The contents of this file are subject to the terms of the
307N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/A#
98N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
98N/A# or http://www.opensolaris.org/os/licensing.
98N/A# See the License for the specific language governing permissions
98N/A# and limitations under the License.
98N/A#
98N/A# When distributing Covered Code, include this CDDL HEADER in each
98N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
98N/A# If applicable, add the following below this CDDL HEADER, with the
98N/A# fields enclosed by brackets "[]" replaced with your own identifying
98N/A# information: Portions Copyright [yyyy] [name of copyright owner]
98N/A#
98N/A# CDDL HEADER END
98N/A
98N/A#
98N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
98N/A#
98N/A
98N/Ainclude ../../../make-rules/shared-macros.mk
98N/ARUBY_VERSION=2.1
98N/ARUBY_LIB_VERSION=2.1.0
98N/ARUBY_VERSIONS=2.1.0
98N/A
98N/ACOMPONENT_NAME= ruby-augeas
98N/ACOMPONENT_VERSION= 0.5.0
98N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
307N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).gem
98N/ACOMPONENT_ARCHIVE_HASH= \
98N/A sha256:42b0973c8ff88c5a903a1b126f1418a69eb3c8f4d45999055bfdce9b70e57101
98N/ACOMPONENT_ARCHIVE_URL= http://rubygems.org/gems/$(COMPONENT_SRC).gem
98N/ACOMPONENT_PROJECT_URL= https://github.com/hercules-team/ruby-augeas
98N/ACOMPONENT_BUGDB= utility/augeas
156N/A
156N/ATPNO= 21871
98N/A
98N/APKG_MACROS += VENDOR_RUBY=$(VENDOR_GEM_DIR:/%=%)
307N/A
98N/A# No gemspec is shipped with the gem. Create one
98N/ACOMPONENT_POST_UNPACK_ACTION= \
98N/A $(GEM) spec $(COMPONENT_ARCHIVE) --ruby > $(SOURCE_DIR)/$(GEMSPEC)
98N/A
98N/Ainclude $(WS_MAKE_RULES)/prep.mk
98N/Ainclude $(WS_MAKE_RULES)/ips.mk
98N/Ainclude $(WS_MAKE_RULES)/gem.mk
98N/Ainclude $(WS_MAKE_RULES)/ruby.mk
98N/A
98N/ACOMPONENT_TEST_CMD= /usr/bin/rake
98N/ACOMPONENT_TEST_DIR= $(SOURCE_DIR)
98N/ACOMPONENT_TEST_ARGS+= test
156N/ACOMPONENT_TEST_TRANSFORMS += \
98N/A '-n ' \
156N/A '-e "/failures/p" '
98N/A
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(TEST_64)
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
REQUIRED_PACKAGES += library/libxml2
REQUIRED_PACKAGES += runtime/ruby-21
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += system/linker
REQUIRED_PACKAGES += system/management/augeas