pokerstove 1.0 (new formula)
Closes #42218. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
0bac2da4be
commit
147ecaee9e
1 changed files with 21 additions and 0 deletions
21
Formula/pokerstove.rb
Normal file
21
Formula/pokerstove.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
class Pokerstove < Formula
|
||||
desc "Poker evaluation and enumeration software"
|
||||
homepage "https://github.com/andrewprock/pokerstove"
|
||||
url "https://github.com/andrewprock/pokerstove/archive/v1.0.tar.gz"
|
||||
sha256 "68503e7fc5a5b2bac451c0591309eacecba738d787874d5421c81f59fde2bc74"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "boost"
|
||||
|
||||
def install
|
||||
mkdir "build" do
|
||||
system "cmake", "..", *std_cmake_args
|
||||
system "make"
|
||||
bin.install Dir["bin/*"]
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"peval_tests"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue