homebrew-core/Formula/imagesnap.rb
Jack Nagel 502ff84d9c Add an xcodebuild helper and deprecate system "xcodebuild"
In the future we can remove the ENV munging branch from Formula#system.

Closes Homebrew/homebrew#27081.
2014-02-27 21:53:21 -06:00

14 lines
441 B
Ruby

require 'formula'
class Imagesnap < Formula
homepage 'http://iharder.sourceforge.net/current/macosx/imagesnap/'
url 'http://downloads.sourceforge.net/project/iharder/imagesnap/ImageSnap-v0.2.5.tgz'
sha1 '3761bada4fddc92df0c61750d5ead24cf944c469'
depends_on :xcode
def install
xcodebuild "-project", "ImageSnap.xcodeproj", "SYMROOT=build", "-sdk", "macosx#{MacOS.version}"
bin.install "build/Release/imagesnap"
end
end