502ff84d9c
In the future we can remove the ENV munging branch from Formula#system. Closes Homebrew/homebrew#27081.
14 lines
441 B
Ruby
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
|