homebrew-core/Formula/imagesnap.rb
2012-09-03 11:36:42 -07:00

14 lines
462 B
Ruby

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