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.
17 lines
480 B
Ruby
17 lines
480 B
Ruby
require 'formula'
|
|
|
|
class Blueutil < Formula
|
|
homepage 'https://github.com/toy/blueutil'
|
|
url 'https://github.com/toy/blueutil/tarball/v1.0.0'
|
|
sha1 '64df692f32e920590746ca9d7dc0ea19c3b5c909'
|
|
|
|
head 'https://github.com/toy/blueutil.git'
|
|
|
|
depends_on :xcode # For working xcodebuild.
|
|
|
|
def install
|
|
# Set to build with SDK=macosx10.6, but it doesn't actually need 10.6
|
|
system 'xcodebuild', 'SDKROOT=', 'SYMROOT=build'
|
|
bin.install 'build/Release/blueutil'
|
|
end
|
|
end
|