equal
deleted
inserted
replaced
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 |
26 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
27 |
27 |
28 COMPONENT_NAME= ruby |
28 COMPONENT_NAME= ruby |
29 COMPONENT_VERSION= 1.8.7 |
29 COMPONENT_VERSION= 1.8.7 |
30 COMPONENT_PATCH_VERSION= 334 |
30 COMPONENT_PATCH_VERSION= 357 |
|
31 COMPONENT_PROJECT_URL= http://www.ruby-lang.org/ |
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-p$(COMPONENT_PATCH_VERSION) |
32 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-p$(COMPONENT_PATCH_VERSION) |
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
33 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
33 COMPONENT_ARCHIVE_HASH= sha1:4311ce257f2e54f247bfe07b48e799d293d041f2 |
34 COMPONENT_ARCHIVE_HASH= sha1:ba5ec0ab663976f00fb405be6cfef546bcf0e4e9 |
34 COMPONENT_ARCHIVE_URL= http://ftp.ruby-lang.org/pub/ruby/1.8/$(COMPONENT_ARCHIVE) |
35 COMPONENT_ARCHIVE_URL= http://ftp.ruby-lang.org/pub/ruby/1.8/$(COMPONENT_ARCHIVE) |
35 IPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION) |
36 IPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION) |
36 |
37 |
37 # rubygems |
38 # rubygems |
38 COMPONENT_SRC_1= rubygems-1.3.5 |
39 COMPONENT_SRC_1= rubygems-1.3.5 |
132 build: $(BUILD_32) |
133 build: $(BUILD_32) |
133 |
134 |
134 install: build $(INSTALL_32) $(RUBYGEMS_INSTALL_TARGET) |
135 install: build $(INSTALL_32) $(RUBYGEMS_INSTALL_TARGET) |
135 |
136 |
136 # one expected failure in TestHTTP::HTTPConnectionTest |
137 # one expected failure in TestHTTP::HTTPConnectionTest |
|
138 # also possibly test_endblockwarn(TestBeginEndBlock), |
|
139 # test_step_ruby_core_35753(TestRange) |
137 test: $(TEST_32) |
140 test: $(TEST_32) |
138 |
141 |
139 # install rubygems using ruby installed in proto area |
142 # install rubygems using ruby installed in proto area |
140 $(RUBYGEMS_INSTALL_TARGET): $(INSTALL_32) |
143 $(RUBYGEMS_INSTALL_TARGET): $(INSTALL_32) |
141 (cd $(COMPONENT_SRC_1); $(ENV) - \ |
144 (cd $(COMPONENT_SRC_1); $(ENV) - \ |