aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/appswitch.rb
diff options
context:
space:
mode:
authorMartin Kuehl2010-02-16 15:10:41 +0100
committerAdam Vandenberg2010-06-15 10:12:50 -0700
commit2d6b599f7a27e533323694fc59109266e3cae7fb (patch)
tree07806deef05a2485b3cf2c6e20c6f528f8fada12 /Library/Formula/appswitch.rb
parentff829a2070dd23003c5ddcdaafa6bed0a6226f81 (diff)
downloadhomebrew-2d6b599f7a27e533323694fc59109266e3cae7fb.tar.bz2
New formula: appswitch
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Compile instead of using pre-compiled binary
Diffstat (limited to 'Library/Formula/appswitch.rb')
-rw-r--r--Library/Formula/appswitch.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/appswitch.rb b/Library/Formula/appswitch.rb
new file mode 100644
index 000000000..df2eef95f
--- /dev/null
+++ b/Library/Formula/appswitch.rb
@@ -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