PSARC/2013/269 Add Ruby 1.9.3 and EOF and Remove Ruby 1.8.7
authorApril Chin <april.chin@oracle.com>
Tue, 16 Sep 2014 14:51:13 -0700
changeset 2090 a455b77bea03
parent 2089 99dd558dda74
child 2091 85bce329fdc0
PSARC/2013/269 Add Ruby 1.9.3 and EOF and Remove Ruby 1.8.7 19624365 create runtime/ruby package that includes any ruby version
components/ruby/ruby-common/Makefile
components/ruby/ruby-common/ruby.license
components/ruby/ruby-common/ruby.p5m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ruby/ruby-common/Makefile	Tue Sep 16 14:51:13 2014 -0700
@@ -0,0 +1,39 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+#
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		ruby-meta
+# the latest version of Ruby
+COMPONENT_VERSION=	1.9
+COMPONENT_PROJECT_URL=	http://www.ruby-lang.org/
+COMPONENT_BUGDB=	utility/ruby
+
+include $(WS_TOP)/make-rules/configure.mk
+include $(WS_TOP)/make-rules/ips.mk
+
+# nothing to download or build; just publish the package
+download prep build install test:
+
+BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
+clobber:	clean
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ruby/ruby-common/ruby.license	Tue Sep 16 14:51:13 2014 -0700
@@ -0,0 +1,1 @@
+Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ruby/ruby-common/ruby.p5m	Tue Sep 16 14:51:13 2014 -0700
@@ -0,0 +1,36 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri value=pkg:/runtime/ruby@$(COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="Ruby, RubyGems, and Rake"
+set name=pkg.description \
+    value="Metapackage that ensures at least one version of Ruby is installed"
+set name=info.classification \
+    value=org.opensolaris.category.2008:Development/Ruby
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2013/269
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+license ruby.license license=Oracle
+
+# Any version of Ruby currently available
+depend type=require-any fmri=runtime/ruby-19