summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2006-04-29 20:50:13 +0000
committerCaleb Tennis <caleb@gentoo.org>2006-04-29 20:50:13 +0000
commitbd703efd4f61932dcae6804556f261f499578dbe (patch)
tree441d40c38287074b57ebe103f84f21a4a1c4871d /dev-ruby/ruby-opengl
parentinitial commit (diff)
downloadhistorical-bd703efd4f61932dcae6804556f261f499578dbe.tar.gz
historical-bd703efd4f61932dcae6804556f261f499578dbe.tar.bz2
historical-bd703efd4f61932dcae6804556f261f499578dbe.zip
version bump
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'dev-ruby/ruby-opengl')
-rw-r--r--dev-ruby/ruby-opengl/ChangeLog7
-rw-r--r--dev-ruby/ruby-opengl/files/digest-ruby-opengl-0.32g3
-rw-r--r--dev-ruby/ruby-opengl/ruby-opengl-0.32g.ebuild38
3 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/ruby-opengl/ChangeLog b/dev-ruby/ruby-opengl/ChangeLog
index 70f88c1f6427..f2aa082c5f28 100644
--- a/dev-ruby/ruby-opengl/ChangeLog
+++ b/dev-ruby/ruby-opengl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/ruby-opengl
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-opengl/ChangeLog,v 1.13 2006/01/13 19:17:38 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-opengl/ChangeLog,v 1.14 2006/04/29 20:50:13 caleb Exp $
+
+*ruby-opengl-0.32g (29 Apr 2006)
+
+ 29 Apr 2006; Caleb Tennis <caleb@gentoo.org> +ruby-opengl-0.32g.ebuild:
+ version bump
13 Jan 2006; Ferris McCormick <fmccor@gentoo.org>
ruby-opengl-0.32d.ebuild:
diff --git a/dev-ruby/ruby-opengl/files/digest-ruby-opengl-0.32g b/dev-ruby/ruby-opengl/files/digest-ruby-opengl-0.32g
new file mode 100644
index 000000000000..f521fe7906d0
--- /dev/null
+++ b/dev-ruby/ruby-opengl/files/digest-ruby-opengl-0.32g
@@ -0,0 +1,3 @@
+MD5 0832d08a87ebb16f6d4e30459a5019f0 rbogl-0.32g.tar.gz 153727
+RMD160 2c0817d8dcd54dba6414cb3977397f908f4f5f5c rbogl-0.32g.tar.gz 153727
+SHA256 a41d174560139c8eac53c2bc90de6ce6652bae98133dd0acc6890f56ae54074d rbogl-0.32g.tar.gz 153727
diff --git a/dev-ruby/ruby-opengl/ruby-opengl-0.32g.ebuild b/dev-ruby/ruby-opengl/ruby-opengl-0.32g.ebuild
new file mode 100644
index 000000000000..7c0a01e1c01a
--- /dev/null
+++ b/dev-ruby/ruby-opengl/ruby-opengl-0.32g.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 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.32g.ebuild,v 1.1 2006/04/29 20:50:13 caleb Exp $
+
+inherit ruby
+
+DESCRIPTION="OpenGL / GLUT bindings for ruby"
+HOMEPAGE="http://www2.giganet.net/~yoshi/"
+SRC_URI="http://www2.giganet.net/~yoshi/rbogl-${PV}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+
+IUSE=""
+USE_RUBY="ruby16 ruby18 ruby19"
+DEPEND="virtual/ruby
+ virtual/opengl
+ virtual/glut"
+
+S=${WORKDIR}/opengl-${PV}
+
+src_compile() {
+ ruby -i -pe 'sub "PLATFORM","RUBY_PLATFORM"' extconf.rb
+ ruby extconf.rb || die
+ emake -j1 -f Makefile.ogl || die
+ emake -j1 -f Makefile.glut || die
+}
+
+src_install () {
+ make -f Makefile.ogl DESTDIR=${D} install || die "install ogl failed"
+ make -f Makefile.glut DESTDIR=${D} install || die "install glut failed"
+
+ dodoc README.EUC ChangeLog
+
+ insinto /usr/share/${PN}/sample
+ doins sample/*.rb
+}