cgdb: add head option
Closes Homebrew/homebrew#31454. Signed-off-by: Jack Nagel <jacknagel@gmail.com>master
parent
a587b6534d
commit
13f906f62c
|
@ -11,9 +11,19 @@ class Cgdb < Formula
|
||||||
sha1 "3e2bdb1a3bf2e11741df63c3d13069c844208a2c" => :lion
|
sha1 "3e2bdb1a3bf2e11741df63c3d13069c844208a2c" => :lion
|
||||||
end
|
end
|
||||||
|
|
||||||
|
head do
|
||||||
|
url "https://github.com/cgdb/cgdb.git"
|
||||||
|
|
||||||
|
depends_on "autoconf" => :build
|
||||||
|
depends_on "automake" => :build
|
||||||
|
depends_on "help2man" => :build
|
||||||
|
end
|
||||||
|
|
||||||
depends_on "readline"
|
depends_on "readline"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
system "sh", "autogen.sh" if build.head?
|
||||||
|
|
||||||
system "./configure", "--disable-dependency-tracking",
|
system "./configure", "--disable-dependency-tracking",
|
||||||
"--prefix=#{prefix}",
|
"--prefix=#{prefix}",
|
||||||
"--with-readline=#{Formula['readline'].opt_prefix}"
|
"--with-readline=#{Formula['readline'].opt_prefix}"
|
||||||
|
|
Loading…
Reference in New Issue