diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-07-04 16:30:04 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-07-04 16:30:04 +0000 |
commit | 07c03e20f5bd1f4ec66a4fad2a26718f0715887f (patch) | |
tree | 9a29dd533d3c64b80bdc4dd21cfc7f8a87e3b939 /dev-ruby/ruby-opengl/ruby-opengl-0.32d.ebuild | |
parent | Version bump; submitted by Benjamin Schleinzer in bug #50843 (diff) | |
download | historical-07c03e20f5bd1f4ec66a4fad2a26718f0715887f.tar.gz historical-07c03e20f5bd1f4ec66a4fad2a26718f0715887f.tar.bz2 historical-07c03e20f5bd1f4ec66a4fad2a26718f0715887f.zip |
Version bumped.
Diffstat (limited to 'dev-ruby/ruby-opengl/ruby-opengl-0.32d.ebuild')
-rw-r--r-- | dev-ruby/ruby-opengl/ruby-opengl-0.32d.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/ruby-opengl/ruby-opengl-0.32d.ebuild b/dev-ruby/ruby-opengl/ruby-opengl-0.32d.ebuild new file mode 100644 index 000000000000..cd8c94394e91 --- /dev/null +++ b/dev-ruby/ruby-opengl/ruby-opengl-0.32d.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-opengl/ruby-opengl-0.32d.ebuild,v 1.1 2004/07/04 16:30:04 usata 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="~x86 ~ppc ~sparc" + +IUSE="" +USE_RUBY="ruby16 ruby18 ruby19" +DEPEND="virtual/ruby" + +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 +} |