dad7e562d8
http://irrlicht.sourceforge.net/2013/12/irrlicht-1-8-1-makefile-version-number-fix/ Closes Homebrew/homebrew#26278. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
16 lines
558 B
Ruby
16 lines
558 B
Ruby
require 'formula'
|
|
|
|
class Irrlicht < Formula
|
|
homepage 'http://irrlicht.sourceforge.net/'
|
|
head 'https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk'
|
|
url 'http://downloads.sourceforge.net/irrlicht/irrlicht-1.8.1.zip'
|
|
sha1 '231cd2cf2eefe43bde7c40537ece055a3d6e09cb'
|
|
|
|
depends_on :xcode
|
|
|
|
def install
|
|
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
|
|
end
|