summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-01-15 16:31:58 +0000
committerHans de Graaff <graaff@gentoo.org>2010-01-15 16:31:58 +0000
commita5e827916dc18c3a49291806ed73bfb948612679 (patch)
treef9482ffa69e7bd3b010928a7788de63f72196609 /dev-ruby
parentVersion bump (diff)
downloadgentoo-2-a5e827916dc18c3a49291806ed73bfb948612679.tar.gz
gentoo-2-a5e827916dc18c3a49291806ed73bfb948612679.tar.bz2
gentoo-2-a5e827916dc18c3a49291806ed73bfb948612679.zip
Convert to ruby-fakegem.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/ruby-opengl/ChangeLog10
-rw-r--r--dev-ruby/ruby-opengl/ruby-opengl-0.60.1-r1.ebuild40
2 files changed, 48 insertions, 2 deletions
diff --git a/dev-ruby/ruby-opengl/ChangeLog b/dev-ruby/ruby-opengl/ChangeLog
index 0fd377ff9c4c..70d72df9f379 100644
--- a/dev-ruby/ruby-opengl/ChangeLog
+++ b/dev-ruby/ruby-opengl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-opengl
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-opengl/ChangeLog,v 1.37 2009/12/09 21:35:56 graaff Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-opengl/ChangeLog,v 1.38 2010/01/15 16:31:58 graaff Exp $
+
+*ruby-opengl-0.60.1-r1 (15 Jan 2010)
+
+ 15 Jan 2010; Hans de Graaff <graaff@gentoo.org>
+ +ruby-opengl-0.60.1-r1.ebuild:
+ Convert to ruby-fakegem.
09 Dec 2009; Hans de Graaff <graaff@gentoo.org>
-ruby-opengl-0.60.0.ebuild:
diff --git a/dev-ruby/ruby-opengl/ruby-opengl-0.60.1-r1.ebuild b/dev-ruby/ruby-opengl/ruby-opengl-0.60.1-r1.ebuild
new file mode 100644
index 000000000000..4f165afeda6d
--- /dev/null
+++ b/dev-ruby/ruby-opengl/ruby-opengl-0.60.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-opengl/ruby-opengl-0.60.1-r1.ebuild,v 1.1 2010/01/15 16:31:58 graaff Exp $
+
+EAPI="2"
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+# Two tests fails but the README already indicates that this may not work.
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="OpenGL / GLUT bindings for ruby"
+HOMEPAGE="http://ruby-opengl.rubyforge.org/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+
+IUSE=""
+
+DEPEND="
+ virtual/opengl
+ virtual/glut"
+RDEPEND="${DEPEND}"
+
+ruby_add_rdepend ">=dev-ruby/mkrf-0.2.3 >=dev-ruby/rake-0.7.3"
+
+each_ruby_compile() {
+ ${RUBY} /usr/bin/rake
+}
+
+all_ruby_install() {
+ dodoc doc/*
+
+ insinto /usr/share/doc/${PF}/examples
+ doins -r examples/* || die "Failed installing example files."
+}