homebrew-core/Formula/bear.rb

23 lines
474 B
Ruby
Raw Normal View History

require "formula"
class Bear < Formula
homepage "https://github.com/rizsotto/Bear"
url "https://github.com/rizsotto/Bear/archive/1.4.tar.gz"
sha1 "0ea917b5fefb9c3293310d9280b131366fc6de74"
depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "libconfig"
def install
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make", "install"
end
end
2014-01-17 00:14:03 +00:00
test do
system "#{bin}/bear", "--", "true"
end
end