homebrew-core/Formula/imagesnap.rb

15 lines
436 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Imagesnap < Formula
homepage 'http://iharder.sourceforge.net/current/macosx/imagesnap/'
2013-01-28 04:52:51 +00:00
url 'http://downloads.sourceforge.net/project/iharder/imagesnap/ImageSnap-v0.2.5.tgz'
sha1 '3761bada4fddc92df0c61750d5ead24cf944c469'
2013-01-28 04:52:51 +00:00
depends_on :xcode
def install
system "xcodebuild -project ImageSnap.xcodeproj SYMROOT=build -sdk macosx#{MacOS.version}"
bin.install "build/Release/imagesnap"
end
end