2010-02-16 14:10:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Appswitch < Formula
|
2010-02-16 14:10:41 +00:00
|
|
|
homepage 'http://web.sabi.net/nriley/software/'
|
2012-05-12 09:41:19 +00:00
|
|
|
url 'http://web.sabi.net/nriley/software/appswitch-1.1.1.tar.gz'
|
|
|
|
sha1 'df5535adadfcf219c60d28397b99627ae7be3148'
|
2010-02-16 14:10:41 +00:00
|
|
|
|
|
|
|
def install
|
2012-05-12 09:41:19 +00:00
|
|
|
# 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.
|
2010-02-16 14:10:41 +00:00
|
|
|
man1.install gzip('appswitch.1')
|
|
|
|
bin.install 'appswitch'
|
|
|
|
end
|
|
|
|
end
|