aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/stuntman.rb
blob: 44a37e194514d311cca2fa79fc2727694ca6bbd2 (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
require "formula"

class Stuntman < Formula
  homepage "http://www.stunprotocol.org/"
  url "http://www.stunprotocol.org/stunserver-1.2.7.tgz"
  sha1 "bc315c5f81e5bf9301872d096db8a8ac74089de4"
  head "https://github.com/jselbie/stunserver.git"

  bottle do
    cellar :any
    sha1 "cba61cc3db211fd4f2b7c8e07284fdfbb4151553" => :mavericks
    sha1 "bf4bc85266aaabc0247860cee0695a7fe93a0d5b" => :mountain_lion
    sha1 "e3e3efbf5fa4160d17e1786c0d30ec65e51cb262" => :lion
  end

  depends_on "boost" => :build

  def install
    system "make"
    bin.install "stunserver", "stunclient", "stuntestcode"
  end

  test do
    system "#{bin}/stuntestcode"
  end
end