blob: 088d9afb8c085b91a2a335bac9111f33465aba9c (
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 Cgdb < Formula
homepage "https://cgdb.github.io/"
url "http://cgdb.me/files/cgdb-0.6.8.tar.gz"
sha1 "0892ae59358fa98264269cf6fe57928314ef7942"
bottle do
sha1 "ad041a0d959f9c78acbaf9e702028418f4fbaced" => :yosemite
sha1 "49b22ef93ad50cc3189eab87c887aac4bf7d5be6" => :mavericks
sha1 "4401a042175f6071740d1d87bb5993ebb3b76d2a" => :mountain_lion
end
head do
url "https://github.com/cgdb/cgdb.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
end
depends_on "help2man" => :build
depends_on "readline"
def install
system "sh", "autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-readline=#{Formula['readline'].opt_prefix}"
system "make install"
end
end
|