homebrew-core/Formula/irrlicht.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

19 lines
643 B
Ruby

require 'formula'
class Irrlicht < Formula
homepage 'http://irrlicht.sourceforge.net/'
head 'https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk'
url 'https://downloads.sourceforge.net/irrlicht/irrlicht-1.8.1.zip'
sha1 '231cd2cf2eefe43bde7c40537ece055a3d6e09cb'
depends_on :xcode
def install
args = %W(-project source/Irrlicht/MacOSX/MacOSX.xcodeproj -configuration Release -target libIrrlicht.a)
args << 'SYMROOT=build'
args << '-sdk' << "macosx#{MacOS.version}"
xcodebuild *args
lib.install "source/Irrlicht/MacOSX/build/Release/libIrrlicht.a"
include.install "include" => "irrlicht"
end
end