3c8f29684e
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>
12 lines
406 B
Ruby
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
|