summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-08-13 23:37:28 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-08-13 23:37:28 +0000
commit2b330805f319d0b58f157a79ea92de01dab922dd (patch)
tree569319cde6543261f7b2a7348c6b950d4ff4de32 /virtual/ruby-ssl/ruby-ssl-1.ebuild
parentStable on amd64 wrt bug #332577 (diff)
downloadhistorical-2b330805f319d0b58f157a79ea92de01dab922dd.tar.gz
historical-2b330805f319d0b58f157a79ea92de01dab922dd.tar.bz2
historical-2b330805f319d0b58f157a79ea92de01dab922dd.zip
Add virtual ebuild for the OpenSSL binding for all the Ruby implementations.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'virtual/ruby-ssl/ruby-ssl-1.ebuild')
-rw-r--r--virtual/ruby-ssl/ruby-ssl-1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/virtual/ruby-ssl/ruby-ssl-1.ebuild b/virtual/ruby-ssl/ruby-ssl-1.ebuild
new file mode 100644
index 000000000000..dda6edfba42b
--- /dev/null
+++ b/virtual/ruby-ssl/ruby-ssl-1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/virtual/ruby-ssl/ruby-ssl-1.ebuild,v 1.1 2010/08/13 23:37:28 flameeyes Exp $
+
+EAPI=2
+USE_RUBY="ruby19"
+
+inherit ruby-ng
+
+DESCRIPTION="Virtual ebuild for the Ruby OpenSSL bindings"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="${USE_RUBY}"
+KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="dev-lang/ruby:1.9[ssl]"
+
+pkg_setup() { :; }
+src_unpack() { :; }
+src_prepare() { :; }
+src_compile() { :; }
+src_install() { :; }
+pkg_preinst() { :; }
+pkg_postinst() { :; }
+
+# DEVELOPERS' NOTE!
+#
+# This virtual has multiple version that ties one-by-one with the Ruby
+# implementation they provide the value for; this is to simplify
+# keywording practise that has been shown to be very messy for other
+# virtuals.
+#
+# Make sure that you DO NOT change the version of the virtual's
+# ebuilds unless you're adding a new implementation; instead simply
+# revision-bump it.
+#
+# A reference to ~${PV} for each of the version has to be added to
+# profiles/base/package.use.force to make sure that they are always
+# used with their own implementation.
+#
+# ruby_add_[br]depend will take care of depending on multiple versions
+# without any frown.