2010-02-16 14:10:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Launch < Formula
|
2010-02-16 14:10:41 +00:00
|
|
|
homepage 'http://web.sabi.net/nriley/software/'
|
2013-01-29 05:33:23 +00:00
|
|
|
url 'http://web.sabi.net/nriley/software/launch-1.1.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '000d6f1063f1b9091a8b10de90cfa778ed6a6ed1'
|
2010-02-16 14:10:41 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
rm_rf "launch" # We'll build it ourself, thanks.
|
2010-08-10 15:05:31 +00:00
|
|
|
system "#{ENV.cc} -o launch -std=c99 #{ENV.cflags} main.c -framework ApplicationServices"
|
2010-02-16 14:10:41 +00:00
|
|
|
man1.install gzip('launch.1')
|
|
|
|
bin.install 'launch'
|
|
|
|
end
|
|
|
|
end
|