blob: 65c1ccbdab8f644eb5596ea624c6b6d9417be7e1 (
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
28
 | require "formula"
class Soccerwindow2 < Formula
  homepage "http://sourceforge.jp/projects/rctools/"
  url "http://dl.sourceforge.jp/rctools/51942/soccerwindow2-5.1.0.tar.gz"
  sha1 "366f80591d39aaca0717bc2fb8993e0b5eb50ef2"
  bottle do
    sha1 "211691f9c8e7e89c8451693065b2ce7b01fbb65f" => :mavericks
    sha1 "ffa56eb8ce4c37bb5f9725ed657733e1246dba22" => :mountain_lion
    sha1 "64dfa71965958b205ba50c439efc83d10f872535" => :lion
  end
  depends_on "pkg-config" => :build
  depends_on "qt"
  depends_on "boost"
  depends_on "librcsc"
  def install
    system "./configure", "--disable-debug",
                          "--prefix=#{prefix}"
    system "make", "install"
  end
  test do
    system "#{bin}/soccerwindow2 -v | grep 'soccerwindow2 Version #{version}'"
  end
end
 |