blob: c67740c8a4e12af3c265563ddc9d06885d85d08e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
require "formula"
class Bear < Formula
homepage "https://github.com/rizsotto/Bear"
url "https://github.com/rizsotto/Bear/archive/1.4.2.tar.gz"
sha1 "cb46807114febb4d5ad8d24e9d6442d5fa9a7a36"
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
test do
system "#{bin}/bear", "--", "true"
end
end
|