aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorFred Potter2013-07-13 19:42:39 -0700
committerMike McQuaid2013-07-17 15:06:40 -0700
commitd16f2ab6ed82703fbc8d075df51903442035eb5c (patch)
treee10b1fa9ef4702ebe86455237fae6bd38f7fe5a6 /Library/Formula
parent56ca5cb648a53664a16c7da4dee1c78cf135eab5 (diff)
downloadhomebrew-d16f2ab6ed82703fbc8d075df51903442035eb5c.tar.bz2
xctool 0.1.7
0.1.7 introduces a new directory layout where the xctool files are stored in bin, lib, and libexec dirs -- https://github.com/facebook/xctool/commit/d6592a7 The old formula will probably break for anyone that tries to use --HEAD :-( Closes #21199. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xctool.rb14
1 files changed, 5 insertions, 9 deletions
diff --git a/Library/Formula/xctool.rb b/Library/Formula/xctool.rb
index 78e60bc3e..4173439a2 100644
--- a/Library/Formula/xctool.rb
+++ b/Library/Formula/xctool.rb
@@ -2,20 +2,16 @@ require 'formula'
class Xctool < Formula
homepage 'https://github.com/facebook/xctool'
- url 'https://github.com/facebook/xctool/archive/v0.1.5.tar.gz'
- sha1 '6b7442963a069b28c823c727756c747def29f773'
+ url 'https://github.com/facebook/xctool/archive/v0.1.7.tar.gz'
+ sha1 'd835f1a34d7d11278664162d4361a0bb03941e5d'
head 'https://github.com/facebook/xctool.git'
depends_on :xcode
+ depends_on :macos => :lion
def install
- system './build.sh'
- # Install all files together in libexec so the binary can find the dylibs.
- libexec.install 'build/Products/Release/xctool'
- libexec.install Dir['build/Products/Release/*.dylib']
- libexec.install 'build/Products/Release/mobile-installation-helper.app'
- # Link the binary into bin
- bin.install_symlink libexec/'xctool'
+ system "./build.sh 'XT_INSTALL_ROOT=#{libexec}'"
+ bin.install_symlink "#{libexec}/bin/xctool"
end
test do