aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/launch.rb
blob: f29f83530c6225e442bae78c1eed2b56a96aa525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Launch < Formula
  homepage 'http://web.sabi.net/nriley/software/'
  head 'https://github.com/nriley/launch.git'
  url 'http://sabi.net/nriley/software/launch-1.2.1.tar.gz'
  sha1 'c9d8034da5778ee973bf64c3d3acc19e143730bd'

  depends_on :xcode

  def install
    rm_rf "launch" # We'll build it ourself, thanks.
    xcodebuild "-configuration", "Deployment", "SYMROOT=build", "clean"
    xcodebuild "-configuration", "Deployment", "SYMROOT=build"

    man1.install gzip('launch.1')
    bin.install 'build/Deployment/launch'
  end
end