Files
tigerbrew/Library/Formula/appswitch.rb
T
nibbles 2bits fbbc96eff4 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>
2012-05-13 13:30:22 -05:00

16 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