summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-31 14:40:07 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-31 14:40:07 +0000
commit9a04779469c335587dadfa85be897d27701bfda0 (patch)
treeeb585956dab0b4f87afc2d5c31296ab6f89aa413 /virtual/ruby-ffi
parentInitial import of ffi gem for Ruby 1.8 and Ruby 1.9. This will be used by ffi... (diff)
downloadgentoo-2-9a04779469c335587dadfa85be897d27701bfda0.tar.gz
gentoo-2-9a04779469c335587dadfa85be897d27701bfda0.tar.bz2
gentoo-2-9a04779469c335587dadfa85be897d27701bfda0.zip
Add a virtual for the Ruby FFI implementation to have an easy way to handle FFI-based extensions.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'virtual/ruby-ffi')
-rw-r--r--virtual/ruby-ffi/ChangeLog11
-rw-r--r--virtual/ruby-ffi/metadata.xml5
-rw-r--r--virtual/ruby-ffi/ruby-ffi-0.ebuild30
3 files changed, 46 insertions, 0 deletions
diff --git a/virtual/ruby-ffi/ChangeLog b/virtual/ruby-ffi/ChangeLog
new file mode 100644
index 000000000000..8ffd27a4c53d
--- /dev/null
+++ b/virtual/ruby-ffi/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for virtual/ruby-ffi
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/virtual/ruby-ffi/ChangeLog,v 1.1 2010/01/31 14:40:07 flameeyes Exp $
+
+*ruby-ffi-0 (31 Jan 2010)
+
+ 31 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> +ruby-ffi-0.ebuild,
+ +metadata.xml:
+ Add a virtual for the Ruby FFI implementation to have an easy way to
+ handle FFI-based extensions.
+
diff --git a/virtual/ruby-ffi/metadata.xml b/virtual/ruby-ffi/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/virtual/ruby-ffi/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/virtual/ruby-ffi/ruby-ffi-0.ebuild b/virtual/ruby-ffi/ruby-ffi-0.ebuild
new file mode 100644
index 000000000000..a0a4393a3d73
--- /dev/null
+++ b/virtual/ruby-ffi/ruby-ffi-0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/virtual/ruby-ffi/ruby-ffi-0.ebuild,v 1.1 2010/01/31 14:40:07 flameeyes Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ruby19 jruby"
+
+inherit ruby-ng
+
+DESCRIPTION="Virtual ebuild for the Ruby ffi library"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="ruby_targets_ruby18? ( dev-ruby/ffi[ruby_targets_ruby18] )
+ ruby_targets_ruby19? ( dev-ruby/ffi[ruby_targets_ruby19] )
+ ruby_targets_jruby? ( dev-java/jruby )"
+DEPEND=""
+
+pkg_setup() { :; }
+src_unpack() { :; }
+src_prepare() { :; }
+src_compile() { :; }
+src_install() { :; }
+pkg_preinst() { :; }
+pkg_postinst() { :; }