2010-02-17 19:47:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Imagesnap < Formula
|
2010-02-17 19:47:07 +00:00
|
|
|
homepage 'http://iharder.sourceforge.net/current/macosx/imagesnap/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/iharder/imagesnap/ImageSnap-v0.2.5.tgz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '3761bada4fddc92df0c61750d5ead24cf944c469'
|
2010-02-17 19:47:07 +00:00
|
|
|
|
2014-05-30 23:03:52 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "b2b12f5f47aadb7ae9969458baf1dcda943952bf" => :mavericks
|
|
|
|
sha1 "74efb274ecb9068c2002eb4fbf7b9d1f8348dc12" => :mountain_lion
|
|
|
|
sha1 "e7cc60e951fdc149c1cf3e39dd6af31f74c2269c" => :lion
|
|
|
|
end
|
|
|
|
|
2014-05-30 20:41:18 +00:00
|
|
|
depends_on :xcode => :build
|
2012-08-24 20:40:24 +00:00
|
|
|
|
2010-02-17 19:47:07 +00:00
|
|
|
def install
|
2014-02-28 03:47:38 +00:00
|
|
|
xcodebuild "-project", "ImageSnap.xcodeproj", "SYMROOT=build", "-sdk", "macosx#{MacOS.version}"
|
2010-02-17 19:47:07 +00:00
|
|
|
bin.install "build/Release/imagesnap"
|
|
|
|
end
|
|
|
|
end
|