This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

irrlicht 1.8

Closes #15977.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
deni64k authored and adamv committed Nov 11, 2012
1 parent 016d98f commit 29efec3a6ced5dff10dd8cd7f164ee9699667fda
Showing with 26 additions and 0 deletions.
  1. +26 −0 Library/Formula/irrlicht.rb
@@ -0,0 +1,26 @@
+require 'formula'
+
+class Irrlicht < Formula
+ homepage 'http://irrlicht.sourceforge.net/'
+ url 'http://downloads.sourceforge.net/irrlicht/irrlicht-1.8.zip'
+ sha1 'a24c2183e3c7dd909f92699c373a68382958b09d'
+
+ head 'https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk'
+
+ depends_on :xcode
+
+ fails_with :clang do
+ build 425
+ cause <<-EOS.undent
+ COpenGLExtensionHandler.h:2390:31: error: expected ')'
+ glProgramParameteriEXT((long GLuint)program, pname, value);
+ EOS
+ end
+
+ def install
+ system *%W(xcodebuild -project source/Irrlicht/MacOSX/MacOSX.xcodeproj -configuration Release -target libIrrlicht.a GCC_VERSION=com.apple.compilers.llvmgcc42 -sdk macosx#{MacOS.version})
+
+ lib.install "source/Irrlicht/MacOSX/build/Release/libIrrlicht.a"
+ include.install "include" => "irrlicht"
+ end
+end

0 comments on commit 29efec3

Please sign in to comment.