74f0fb8f49
Upgrade appswitch to version 1.1.1 which has changes for Lion. This software has only one 22k source file, but it now needs a full XCode and xcodebuild to compile it. Luckily the developer includes a precompiled binary in the source tarball. So this commit just installs that, allowing CLT only users to run it. Fixes Homebrew/homebrew#12198. Closes Homebrew/homebrew#12212. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
15 lines
527 B
Ruby
15 lines
527 B
Ruby
require 'formula'
|
|
|
|
class Appswitch < Formula
|
|
homepage 'http://web.sabi.net/nriley/software/'
|
|
url 'http://web.sabi.net/nriley/software/appswitch-1.1.1.tar.gz'
|
|
sha1 'df5535adadfcf219c60d28397b99627ae7be3148'
|
|
|
|
def install
|
|
# Because the tarball always comes with a precompiled binary and because
|
|
# compiling this now would require using xcodebuild from a full XCode
|
|
# install, let's just use the binary so that we can support CLT only.
|
|
man1.install gzip('appswitch.1')
|
|
bin.install 'appswitch'
|
|
end
|
|
end
|