diff options
| author | nibbles 2bits | 2012-05-12 02:41:19 -0700 |
|---|---|---|
| committer | Jack Nagel | 2012-05-13 13:30:22 -0500 |
| commit | fbbc96eff49ba5e7a8aae4831b3fea6440f7acf8 (patch) | |
| tree | 568d178c381d726d93346926c241d1d76fbfeb91 /Library/Formula/appswitch.rb | |
| parent | 7a886c2ddbfe48e106d9aa39ccc6ddc512b0b6c2 (diff) | |
| download | homebrew-fbbc96eff49ba5e7a8aae4831b3fea6440f7acf8.tar.bz2 | |
appswitch 1.1.1
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 #12198.
Closes #12212.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/appswitch.rb')
| -rw-r--r-- | Library/Formula/appswitch.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/appswitch.rb b/Library/Formula/appswitch.rb index 96e1215f9..07b4ddb1f 100644 --- a/Library/Formula/appswitch.rb +++ b/Library/Formula/appswitch.rb @@ -1,12 +1,14 @@ require 'formula' class Appswitch < Formula - url 'http://web.sabi.net/nriley/software/appswitch-1.1.tar.gz' homepage 'http://web.sabi.net/nriley/software/' - md5 '07cf9884a07939da487898cddba0c296' + url 'http://web.sabi.net/nriley/software/appswitch-1.1.1.tar.gz' + sha1 'df5535adadfcf219c60d28397b99627ae7be3148' def install - system "#{ENV.cc} -o appswitch #{ENV.cflags} main.c -framework ApplicationServices" + # 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 |
