PSARC/2013/269 Add Ruby 1.9.3 and EOF and Remove Ruby 1.8.7 s11-update
authorApril Chin <april.chin@oracle.com>
Wed, 01 Oct 2014 14:33:02 -0700
branchs11-update
changeset 3354 bf401f1818d6
parent 3353 f57616772c70
child 3355 68a65d314e35
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	Wed Oct 01 14:33:02 2014 -0700
@@ -0,0 +1,43 @@
+#
+# 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
+
+# This package delivers no files and has no dependencies.
+EXTDEPFILES = $(NULLDEPFILE)
+LICENSE_TRANSFORMS=
+
+# 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	Wed Oct 01 14:33:02 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	Wed Oct 01 14:33:02 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/[email protected]$(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