mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
The irrlicht formula is being built using xcodebuild with an xcodeproj file that has the base SDK specified as 10.9. There are missing symbols when trying to link against this on 10.8, so this commit specifies the 10.8 sdk when mountain lion is the system os. Closes #26881. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
20 lines
652 B
Ruby
20 lines
652 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
|
|
args = %W(-project source/Irrlicht/MacOSX/MacOSX.xcodeproj -configuration Release -target libIrrlicht.a)
|
|
args << 'SYMROOT=build'
|
|
args << '-sdk' << "macosx#{MacOS.version}"
|
|
system 'xcodebuild', *args
|
|
lib.install "source/Irrlicht/MacOSX/build/Release/libIrrlicht.a"
|
|
include.install "include" => "irrlicht"
|
|
end
|
|
end
|