XCodeDependency: Things that call xcodebuild
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.
This commit is contained in:
parent
8811232ec4
commit
1a42f893ab
9 changed files with 17 additions and 0 deletions
|
@ -6,6 +6,8 @@ class Appledoc < Formula
|
|||
homepage 'http://appledoc.gentlebytes.com/'
|
||||
md5 '142cf80513ca8eda2aba631483b2e4e6'
|
||||
|
||||
depends_on :xcode # For working xcodebuild.
|
||||
|
||||
def install
|
||||
system "xcodebuild", "-project", "appledoc.xcodeproj",
|
||||
"-target", "appledoc",
|
||||
|
|
|
@ -7,6 +7,8 @@ class Blueutil < Formula
|
|||
|
||||
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'
|
||||
|
|
|
@ -4,6 +4,8 @@ class Chmox < Formula
|
|||
head 'cvs://:pserver:anonymous@chmox.cvs.sourceforge.net:/cvsroot/chmox:Sources'
|
||||
homepage 'http://chmox.sourceforge.net'
|
||||
|
||||
depends_on :xcode # For working xcodebuild.
|
||||
|
||||
def install
|
||||
system "xcodebuild SYMROOT=build"
|
||||
prefix.install "build/Default/Chmox.app"
|
||||
|
|
|
@ -8,6 +8,8 @@ class Darwinbuild < Formula
|
|||
DATA
|
||||
end
|
||||
|
||||
depends_on :xcode # For working xcodebuild.
|
||||
|
||||
def install
|
||||
ENV.delete('CC')
|
||||
ENV.delete('LD')
|
||||
|
|
|
@ -5,6 +5,8 @@ class Imagesnap < Formula
|
|||
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"
|
||||
|
|
|
@ -16,6 +16,7 @@ class Jstalk < Formula
|
|||
version '1.0.1'
|
||||
|
||||
depends_on NeedsSnowLeopard.new
|
||||
depends_on :xcode # For working xcodebuild.
|
||||
|
||||
def install
|
||||
["JSTalk Framework", "jstalk command line", "JSTalk Editor"].each do |t|
|
||||
|
|
|
@ -6,6 +6,8 @@ class Mogenerator < Formula
|
|||
md5 'cc761752cc581188e1065bd0919ad4c3'
|
||||
head "https://github.com/rentzsch/mogenerator.git"
|
||||
|
||||
depends_on :xcode # For working xcodebuild.
|
||||
|
||||
def install
|
||||
system "xcodebuild -target mogenerator -configuration Release SYMROOT=symroot OBJROOT=objroot"
|
||||
bin.install "symroot/Release/mogenerator"
|
||||
|
|
|
@ -4,6 +4,8 @@ class Otx < Formula
|
|||
homepage 'http://otx.osxninja.com/'
|
||||
head 'http://otx.osxninja.com/builds/trunk/', :using => :svn
|
||||
|
||||
depends_on :xcode # For working xcodebuild.
|
||||
|
||||
def install
|
||||
system 'xcodebuild SYMROOT=build'
|
||||
build = buildpath/'build/Release'
|
||||
|
|
|
@ -6,6 +6,8 @@ class Staticrouted < Formula
|
|||
version '1.0.1'
|
||||
md5 '1f76b4f15d3bc332d40732bde154a20e'
|
||||
|
||||
depends_on :xcode # For working xcodebuild.
|
||||
|
||||
def install
|
||||
system "xcodebuild SYMROOT=build -target Everything"
|
||||
sbin.install ["build/Release/staticroute", "build/Release/staticrouted"]
|
||||
|
|
Loading…
Reference in a new issue