homebrew-core/Formula/librcsc.rb
Nikolaus Wittenstein e5a661b62a Clean up existing descriptions
Some descriptions were added before the mass immigration of descs,
and this commit brings them in line with the original specs of
the brew-desc project:
 - removed articles at the beginnings of descriptions
 - shortened many descriptions
 - removed formula names from descriptions
2015-06-05 14:47:37 +01:00

34 lines
922 B
Ruby

class Librcsc < Formula
desc "RoboCup Soccer Simulator library"
homepage "https://osdn.jp/projects/rctools/"
url "http://dl.osdn.jp/rctools/51941/librcsc-4.1.0.tar.gz"
sha256 "1e8f66927b03fb921c5a2a8c763fb7297a4349c81d1411c450b180178b46f481"
bottle do
cellar :any
revision 1
sha1 "7db2070cbe574575393712c697fc743a138129e7" => :yosemite
sha1 "27075e4e199258cc61e287464d7bf255fc4702ac" => :mavericks
sha1 "9607e6d54b8a36202294ed27a71b2142cee8ee95" => :mountain_lion
end
depends_on "boost"
def install
system "./configure", "--disable-debug",
"--prefix=#{prefix}"
system "make", "install"
end
test do
(testpath/"test.cpp").write <<-EOS.undent
#include <rcsc/rcg.h>
int main() {
rcsc::rcg::PlayerT p;
return 0;
}
EOS
system ENV.cxx, "test.cpp", "-o", "test", "-lrcsc_rcg"
system "./test"
end
end