diff options
| author | Charlie Sharpsteen | 2012-08-24 13:40:24 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-08-24 19:38:04 -0700 |
| commit | 430b3fb7b5ca0649c351efcfaad439183c566b7c (patch) | |
| tree | 0d486d820455ab37d07d8c2acf73643bb23dc295 /Library | |
| parent | f447619b0e988edd3ae45297fe35fcf30ab20760 (diff) | |
| download | homebrew-430b3fb7b5ca0649c351efcfaad439183c566b7c.tar.bz2 | |
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.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/appledoc.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/blueutil.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/chmox.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/darwinbuild.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/imagesnap.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/jstalk.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/mogenerator.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/otx.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/staticrouted.rb | 2 |
9 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/appledoc.rb b/Library/Formula/appledoc.rb index 9fdabca95..0ea7a3ca2 100644 --- a/Library/Formula/appledoc.rb +++ b/Library/Formula/appledoc.rb @@ -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", diff --git a/Library/Formula/blueutil.rb b/Library/Formula/blueutil.rb index fde936251..aa79add57 100644 --- a/Library/Formula/blueutil.rb +++ b/Library/Formula/blueutil.rb @@ -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' diff --git a/Library/Formula/chmox.rb b/Library/Formula/chmox.rb index dce188c0d..b2a73d1fd 100644 --- a/Library/Formula/chmox.rb +++ b/Library/Formula/chmox.rb @@ -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" diff --git a/Library/Formula/darwinbuild.rb b/Library/Formula/darwinbuild.rb index 107778936..05e532b6f 100644 --- a/Library/Formula/darwinbuild.rb +++ b/Library/Formula/darwinbuild.rb @@ -8,6 +8,8 @@ class Darwinbuild < Formula DATA end + depends_on :xcode # For working xcodebuild. + def install ENV.delete('CC') ENV.delete('LD') diff --git a/Library/Formula/imagesnap.rb b/Library/Formula/imagesnap.rb index 66ac1e412..aa585c741 100644 --- a/Library/Formula/imagesnap.rb +++ b/Library/Formula/imagesnap.rb @@ -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" diff --git a/Library/Formula/jstalk.rb b/Library/Formula/jstalk.rb index 6356efe1a..3a0ab01fb 100644 --- a/Library/Formula/jstalk.rb +++ b/Library/Formula/jstalk.rb @@ -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| diff --git a/Library/Formula/mogenerator.rb b/Library/Formula/mogenerator.rb index d18b0e716..7874341e0 100644 --- a/Library/Formula/mogenerator.rb +++ b/Library/Formula/mogenerator.rb @@ -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" diff --git a/Library/Formula/otx.rb b/Library/Formula/otx.rb index e5ddfd0a3..7db07512d 100644 --- a/Library/Formula/otx.rb +++ b/Library/Formula/otx.rb @@ -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' diff --git a/Library/Formula/staticrouted.rb b/Library/Formula/staticrouted.rb index f6a4be8c3..ba82d9242 100644 --- a/Library/Formula/staticrouted.rb +++ b/Library/Formula/staticrouted.rb @@ -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"] |
