From d16f2ab6ed82703fbc8d075df51903442035eb5c Mon Sep 17 00:00:00 2001 From: Fred Potter Date: Sat, 13 Jul 2013 19:42:39 -0700 Subject: 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 --- Library/Formula/xctool.rb | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3