8dc451e3e2
Closes Homebrew/homebrew#20645. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
24 lines
634 B
Ruby
24 lines
634 B
Ruby
require 'formula'
|
|
|
|
class Zshdb < Formula
|
|
homepage 'https://github.com/rocky/zshdb'
|
|
url 'http://downloads.sourceforge.net/project/bashdb/zshdb/0.08/zshdb-0.08.tar.bz2'
|
|
sha1 '29f860d0130debe6a966ee1e12f2f3046c78897b'
|
|
|
|
head 'https://github.com/rocky/zshdb.git'
|
|
|
|
depends_on 'zsh'
|
|
depends_on :automake if build.head?
|
|
|
|
def install
|
|
if build.head?
|
|
system "autoreconf", "-fvi"
|
|
system "autoconf"
|
|
end
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--with-zsh=#{HOMEBREW_PREFIX}/bin/zsh"
|
|
system "make install"
|
|
end
|
|
end
|