New formula: launch

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

* Do a binary build.
This commit is contained in:
Martin Kuehl 2010-02-16 15:10:41 +01:00 committed by Adam Vandenberg
parent 0eb2138873
commit cb1d352abe

14
Formula/launch.rb Normal file
View file

@ -0,0 +1,14 @@
require 'formula'
class Launch <Formula
url 'http://web.sabi.net/nriley/software/launch-1.1.tar.gz'
homepage 'http://web.sabi.net/nriley/software/'
md5 'bcd5179d5b519248a717aa73f3819e00'
def install
rm_rf "launch" # We'll build it ourself, thanks.
system "#{ENV.cc} -o launch -std=c99 #{ENV['CFLAGS']} main.c -framework ApplicationServices"
man1.install gzip('launch.1')
bin.install 'launch'
end
end