2013-02-09 11:15:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Zshdb < Formula
|
|
|
|
homepage 'https://github.com/rocky/zshdb'
|
2013-06-20 23:08:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/bashdb/zshdb/0.08/zshdb-0.08.tar.bz2'
|
2013-02-09 11:15:48 +00:00
|
|
|
sha1 '29f860d0130debe6a966ee1e12f2f3046c78897b'
|
|
|
|
|
2013-09-22 01:47:58 +00:00
|
|
|
head do
|
|
|
|
url 'https://github.com/rocky/zshdb.git'
|
|
|
|
depends_on :automake
|
|
|
|
end
|
2013-02-09 11:15:48 +00:00
|
|
|
|
|
|
|
depends_on 'zsh'
|
|
|
|
|
|
|
|
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
|