irrlict 1.8.1
Closes Homebrew/homebrew#24154. Closes Homebrew/homebrew#24406.
This commit is contained in:
parent
3ed79f76b3
commit
6752b05148
1 changed files with 3 additions and 12 deletions
|
@ -2,23 +2,14 @@ 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'
|
||||
url 'http://downloads.sourceforge.net/irrlicht/irrlicht-1.8.1.zip'
|
||||
sha1 '47f073dabf329e102628757bde4520a4d1629028'
|
||||
|
||||
depends_on :xcode
|
||||
|
||||
fails_with :clang do
|
||||
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})
|
||||
|
||||
system *%W(xcodebuild -project source/Irrlicht/MacOSX/MacOSX.xcodeproj -configuration Release -target libIrrlicht.a)
|
||||
lib.install "source/Irrlicht/MacOSX/build/Release/libIrrlicht.a"
|
||||
include.install "include" => "irrlicht"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue