homebrew-core/Formula/imagesnap.rb
Kjell 3c8f29684e imagesnap: use explicit SDK version
The build tries to find the 10.5 SDK by default, so it fails with XCode
4 / Lion.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-26 22:37:07 -05:00

12 lines
406 B
Ruby

require 'formula'
class Imagesnap < Formula
url 'http://downloads.sourceforge.net/project/iharder/imagesnap/ImageSnap-v0.2.4.tgz'
homepage 'http://iharder.sourceforge.net/current/macosx/imagesnap/'
md5 'eddd65d04782cc7538c009cf8a6f7568'
def install
system "xcodebuild -project ImageSnap.xcodeproj SYMROOT=build -sdk macosx#{MACOS_VERSION}"
bin.install "build/Release/imagesnap"
end
end