diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/rcssmonitor.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/rcssmonitor.rb b/Library/Formula/rcssmonitor.rb new file mode 100644 index 000000000..8f7116348 --- /dev/null +++ b/Library/Formula/rcssmonitor.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Rcssmonitor < Formula + homepage 'http://sserver.sourceforge.net/' + url 'https://downloads.sourceforge.net/sserver/rcssmonitor/15.1.0/rcssmonitor-15.1.0.tar.gz' + sha1 '9a2c1905429882291267b463ec1db858ab0dde90' + + depends_on 'pkg-config' => :build + depends_on 'qt' + depends_on 'boost' + + def install + system "./configure", "--prefix=#{prefix}" + system "make", "install" + end + + test do + system "#{bin}/rcssmonitor --version | tail -1 | grep 'rcssmonitor Version 15.1.0'" + end +end |
