homebrew-core/Formula/rcsslogplayer.rb

27 lines
749 B
Ruby
Raw Normal View History

2014-03-17 10:55:24 +00:00
require "formula"
2014-03-16 15:11:40 +00:00
class Rcsslogplayer < Formula
2014-03-17 10:55:24 +00:00
homepage "http://sserver.sourceforge.net/"
url "https://downloads.sourceforge.net/sserver/rcsslogplayer/15.1.0/rcsslogplayer-15.1.0.tar.gz"
sha1 "f1a4140ca98a642e87ea8862c9dcfc6b335df008"
2014-03-16 15:11:40 +00:00
bottle do
sha1 "e14d2392e672bd1497dd3f7199dee35d413b0afe" => :mavericks
sha1 "40532bbf785d987c7417c6914708e2497127318c" => :mountain_lion
sha1 "e5f256e90585f06e9767d0ea6031fcff691dbf24" => :lion
end
2014-03-17 10:55:24 +00:00
depends_on "pkg-config" => :build
depends_on "qt"
depends_on "boost"
2014-03-16 15:11:40 +00:00
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
2014-03-17 10:55:24 +00:00
system "#{bin}/rcsslogplayer --version | tail -1 | grep 'rcsslogplayer Version #{version}'"
2014-03-16 15:11:40 +00:00
end
end