1a42f893ab
Anything that calls `xcodebuild` needs a full install of XCode.app. Two formulae ommitted from this patch: - `fuse4x_kext`: Everything that depends on the kernel extension can be compiled by the CLT. Therefore, this formula is bottled and XCode is only needed to produce the bottles. - `graphviz`: XCode is only used to create GraphViz.app which is not used by any of the things which depend on `graphviz`. Creating the app should be made into an option.
14 lines
453 B
Ruby
14 lines
453 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/'
|
|
md5 '32e341f059a91703816d8aa9b87fb1e4'
|
|
|
|
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
|