2010-02-16 14:10:41 +00:00
|
|
|
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
|
2010-08-10 15:05:31 +00:00
|
|
|
system "#{ENV.cc} -o appswitch #{ENV.cflags} main.c -framework ApplicationServices"
|
2010-02-16 14:10:41 +00:00
|
|
|
man1.install gzip('appswitch.1')
|
|
|
|
bin.install 'appswitch'
|
|
|
|
end
|
|
|
|
end
|