diff options
| author | Denis Sukhonin | 2012-11-12 00:00:24 +0400 |
|---|---|---|
| committer | Adam Vandenberg | 2013-02-22 08:48:27 -0800 |
| commit | 29efec3a6ced5dff10dd8cd7f164ee9699667fda (patch) | |
| tree | 98249ce484159b7911345d10e175e84b98cb0604 | |
| parent | 016d98fefedc85d0921db4056a3a60f6ee730c47 (diff) | |
| download | homebrew-29efec3a6ced5dff10dd8cd7f164ee9699667fda.tar.bz2 | |
irrlicht 1.8
Closes #15977.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/irrlicht.rb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Library/Formula/irrlicht.rb b/Library/Formula/irrlicht.rb new file mode 100644 index 000000000..2731cef00 --- /dev/null +++ b/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 |
