summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-05-05 06:14:12 +0000
committerHans de Graaff <graaff@gentoo.org>2011-05-05 06:14:12 +0000
commit1b0a826453ffc9e5dbbfa48f67cec7b0e82d2447 (patch)
tree4304b0087559d7a4e55ebd60f21a2e9cb049b532 /dev-ruby
parentAdd ree18 support. (diff)
downloadhistorical-1b0a826453ffc9e5dbbfa48f67cec7b0e82d2447.tar.gz
historical-1b0a826453ffc9e5dbbfa48f67cec7b0e82d2447.tar.bz2
historical-1b0a826453ffc9e5dbbfa48f67cec7b0e82d2447.zip
Fix dodoc warning, bug 366011. Respect LDFLAGS.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/ruby-opengl/ChangeLog8
-rw-r--r--dev-ruby/ruby-opengl/Manifest11
-rw-r--r--dev-ruby/ruby-opengl/ruby-opengl-0.60.1-r2.ebuild56
3 files changed, 69 insertions, 6 deletions
diff --git a/dev-ruby/ruby-opengl/ChangeLog b/dev-ruby/ruby-opengl/ChangeLog
index 980972f9bc7e..3a68460448d8 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-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-opengl/ChangeLog,v 1.46 2011/01/15 11:36:08 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-opengl/ChangeLog,v 1.47 2011/05/05 06:14:12 graaff Exp $
+
+*ruby-opengl-0.60.1-r2 (05 May 2011)
+
+ 05 May 2011; Hans de Graaff <graaff@gentoo.org>
+ +ruby-opengl-0.60.1-r2.ebuild:
+ Fix dodoc warning, bug 366011. Respect LDFLAGS.
15 Jan 2011; Hans de Graaff <graaff@gentoo.org>
-ruby-opengl-0.60.1.ebuild:
diff --git a/dev-ruby/ruby-opengl/Manifest b/dev-ruby/ruby-opengl/Manifest
index 6b47689fecff..8ab064aef80a 100644
--- a/dev-ruby/ruby-opengl/Manifest
+++ b/dev-ruby/ruby-opengl/Manifest
@@ -3,12 +3,13 @@ Hash: SHA256
DIST ruby-opengl-0.60.1.gem 245248 RMD160 fc046485ad0da0a269c5b282cef9f027dad16077 SHA1 ae8a2ceec7102fce6450273885372fa16d820c87 SHA256 aeeeac200acc0e7dad0f59dc47426ed7d3254c77f560cf3dfdecbdee5fa4ab7e
EBUILD ruby-opengl-0.60.1-r1.ebuild 966 RMD160 1d230bb5a87222d214e2d099e123ad70a0f1c2b3 SHA1 1572d77e5ddcf4a170e41372ae29386d767ab8b6 SHA256 c04284738d1d7b6b63862b8de263a51fdf5984b916419f52026555b3d5fdd80c
-MISC ChangeLog 6403 RMD160 43260c14e4ada3e613d41f90134d3ec6da18853b SHA1 6fe6c0d100d1e8287d199ef7fa304558cc5e213d SHA256 3c0ed6a1d06d01420208e3f4b91c765427e399aa883bd5cb849f7c3bacee9b49
+EBUILD ruby-opengl-0.60.1-r2.ebuild 1364 RMD160 8c3df84dd48439f8c87526513298705b0a7931e3 SHA1 7b552ba5996cc31d177daa3e3ce0084ffc82c9ea SHA256 05b455773c7e88f904b9ad6d68f468b06adb4c2ad86fa08dac3b027233445603
+MISC ChangeLog 6575 RMD160 769c177789b32b321f831042103dbbf5e9b60d72 SHA1 a16307f7eaa78b35e1feeaaad612b526afa48f48 SHA256 68239f548be821069b8cda07325b6ecea4c8da79ffd8f8aa6acc9d90ec95ada9
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk0xhrEACgkQrnu0mw69JkoFgQD/SDlENVk+OgBQL9SNn57uGnpW
-9VhCW3s3TJoCdeMYwfUBAJAa90FyM+SQXzpBatK/faNyApb3OGpl5P+1W2kKZlrS
-=8BBW
+iF4EAREIAAYFAk3CQDkACgkQrnu0mw69JkrRmwD9FPrsn6BitX6d5d7UPvPMOpjK
+9KdiQCkh9n8PW4c569EBAIsNnGRiOCPbGfOPfzx+KWyvGXOOnJXLE58MnOkiGiNS
+=3p5+
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-opengl/ruby-opengl-0.60.1-r2.ebuild b/dev-ruby/ruby-opengl/ruby-opengl-0.60.1-r2.ebuild
new file mode 100644
index 000000000000..aa4a5380bbb5
--- /dev/null
+++ b/dev-ruby/ruby-opengl/ruby-opengl-0.60.1-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 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-r2.ebuild,v 1.1 2011/05/05 06:14:12 graaff Exp $
+
+EAPI="4"
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+# Two tests fails but the README already indicates that this may not
+# work. Additionally these tests require access to video devices such as
+# /dev/nvidiactl.
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit multilib 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="${DEPEND}
+ virtual/opengl
+ media-libs/freeglut"
+RDEPEND="${RDEPEND}
+ virtual/opengl
+ media-libs/freeglut"
+
+ruby_add_bdepend ">=dev-ruby/mkrf-0.2.3 >=dev-ruby/rake-0.7.3"
+
+each_ruby_configure() {
+ for dir in gl glu glut ; do
+ ${RUBY} -Cext/$dir mkrf_conf.rb || die
+ # Add our own LDFLAGS to the generated Rakefile.
+ sed -i -e "/^LDSHARED/s/$/+ENV['LDFLAGS']/" ext/$dir/Rakefile || die
+ done
+}
+
+each_ruby_compile() {
+ for dir in gl glu glut ; do
+ ${RUBY} -Cext/$dir -S rake || die
+ done
+
+ cp ext/*/*$(get_modname) lib/ || die
+}
+
+all_ruby_install() {
+ dodoc -r doc
+
+ insinto /usr/share/doc/${PF}/examples
+ doins -r examples/* || die "Failed installing example files."
+}