blob: 3057c776fdc218e2cdb8311402f64cbaae49e984 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
require 'formula'
class Bmon < Formula
homepage 'https://github.com/tgraf/bmon'
url "https://github.com/tgraf/bmon/releases/download/v3.5/bmon-3.5.tar.gz"
sha1 "352f774e20f679e89de0f72159475d999cc7bf2f"
bottle do
sha1 "403e402182813cc1f63a6b75c2a40db32e328626" => :mavericks
sha1 "3a5cd94abd456aa3b49cc375ceb72115a4c3a1ad" => :mountain_lion
sha1 "081de28fe55bf0285c6310fffe8d25ce843b769f" => :lion
end
head do
url "https://github.com/tgraf/bmon.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
end
depends_on "confuse" => :build
depends_on "pkg-config" => :build
def install
system "./autogen.sh" if build.head?
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make" # two steps to prevent blowing up
system "make install"
end
end
|