4160a2de22
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Compile instead of using pre-compiled binary
13 lines
381 B
Ruby
13 lines
381 B
Ruby
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
|