blob: 36b48e2e782044bd16ff790938b48c16da183879 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  | 
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.
    system  "xcodebuild",
            "-configuration",
            "Deployment",
            "SYMROOT=build",
            "clean"
    system  "xcodebuild",
            "-configuration",
            "Deployment",
            "SYMROOT=build"
    man1.install gzip('launch.1')
    bin.install 'build/Deployment/launch'
  end
end
  |