New formula: appswitch

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Compile instead of using pre-compiled binary
This commit is contained in:
Martin Kuehl 2010-02-16 15:10:41 +01:00 committed by Adam Vandenberg
parent 5a138b85a4
commit 4160a2de22

13
Formula/appswitch.rb Normal file
View file

@ -0,0 +1,13 @@
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'
def install
system "#{ENV.cc} -o appswitch #{ENV['CFLAGS']} main.c -framework ApplicationServices"
man1.install gzip('appswitch.1')
bin.install 'appswitch'
end
end