homebrew-core/Formula/rcssmonitor.rb

27 lines
739 B
Ruby
Raw Normal View History

2014-03-17 10:55:38 +00:00
require "formula"
2014-03-16 15:11:54 +00:00
class Rcssmonitor < Formula
2014-03-17 10:55:38 +00:00
homepage "http://sserver.sourceforge.net/"
url "https://downloads.sourceforge.net/sserver/rcssmonitor/15.1.0/rcssmonitor-15.1.0.tar.gz"
sha1 "9a2c1905429882291267b463ec1db858ab0dde90"
2014-03-16 15:11:54 +00:00
2014-03-16 18:10:33 +00:00
bottle do
sha1 "07ae3bf0142c044c374f2366458388aa1c3a483f" => :mavericks
sha1 "c87a3380c6390b7d75126d777d03dbf83055d9f7" => :mountain_lion
sha1 "a03085dccc0377736de773ff39915db61a9a4dfd" => :lion
end
2014-03-17 10:55:38 +00:00
depends_on "pkg-config" => :build
depends_on "qt"
depends_on "boost"
2014-03-16 15:11:54 +00:00
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
2014-03-17 10:55:38 +00:00
system "#{bin}/rcssmonitor --version | tail -1 | grep 'rcssmonitor Version #{version}'"
2014-03-16 15:11:54 +00:00
end
end