pokerstove 1.0 (new formula)

Closes #42218.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
CircleOnCircles 2019-07-20 19:10:20 +07:00 committed by FX Coudert
parent 0bac2da4be
commit 147ecaee9e

21
Formula/pokerstove.rb Normal file
View 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