# HG changeset patch # User April Chin # Date 1412349555 25200 # Node ID a4a50df947fd359bd8a679e0f6f4ffe89709f996 # Parent e8974270855aff68e6098e282e5a7e2c4bbfd254 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 diff -r e8974270855a -r a4a50df947fd components/ruby/ruby-common/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/ruby/ruby-common/Makefile Fri Oct 03 08:19:15 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 diff -r e8974270855a -r a4a50df947fd components/ruby/ruby-common/ruby.license --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/ruby/ruby-common/ruby.license Fri Oct 03 08:19:15 2014 -0700 @@ -0,0 +1,1 @@ +Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. diff -r e8974270855a -r a4a50df947fd components/ruby/ruby-common/ruby.p5m --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/ruby/ruby-common/ruby.p5m Fri Oct 03 08:19:15 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