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/'
|
2014-01-14 18:58:44 +00:00
|
|
|
head 'https://github.com/nriley/launch.git'
|
2014-03-19 15:52:23 +00:00
|
|
|
url 'http://sabi.net/nriley/software/launch-1.2.2.tar.gz'
|
|
|
|
sha1 'd6fabdb495d3395460148bb99341cbf0f1b9d575'
|
2010-02-16 14:10:41 +00:00
|
|
|
|
2014-03-19 16:01:17 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "32c11675ab351420dcb35742f66ae8a7ca987acf" => :mavericks
|
|
|
|
sha1 "702b8164d60d13ef3480c98caee053a242193aaf" => :mountain_lion
|
|
|
|
sha1 "1166c77e00378087195ad5273685d839dbb9f305" => :lion
|
|
|
|
end
|
|
|
|
|
2014-05-30 20:35:03 +00:00
|
|
|
depends_on :xcode => :build
|
2013-11-28 17:28:12 +00:00
|
|
|
|
2010-02-16 14:10:41 +00:00
|
|
|
def install
|
|
|
|
rm_rf "launch" # We'll build it ourself, thanks.
|
2014-02-28 03:47:38 +00:00
|
|
|
xcodebuild "-configuration", "Deployment", "SYMROOT=build", "clean"
|
|
|
|
xcodebuild "-configuration", "Deployment", "SYMROOT=build"
|
2014-01-14 18:58:44 +00:00
|
|
|
|
2010-02-16 14:10:41 +00:00
|
|
|
man1.install gzip('launch.1')
|
2014-01-14 18:58:44 +00:00
|
|
|
bin.install 'build/Deployment/launch'
|
2010-02-16 14:10:41 +00:00
|
|
|
end
|
|
|
|
end
|