aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDavid Holm2013-02-09 12:15:48 +0100
committerJack Nagel2013-05-16 16:16:26 -0500
commitc6ac1a8ef0499341053cd377b6c12d9817dc61fa (patch)
treeceeb174fd91fbdd2a101343c957f3366c2a5d6fc /Library/Formula
parent77dcccaf274e1fe07c8aa555837d322266844001 (diff)
downloadhomebrew-c6ac1a8ef0499341053cd377b6c12d9817dc61fa.tar.bz2
New formula: zshdb
New formula for The ZSH Debugger (0.08 and head) Closes #17718. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/zshdb.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/zshdb.rb b/Library/Formula/zshdb.rb
new file mode 100644
index 000000000..1a054b30b
--- /dev/null
+++ b/Library/Formula/zshdb.rb
@@ -0,0 +1,24 @@
+require 'formula'
+
+class Zshdb < Formula
+ homepage 'https://github.com/rocky/zshdb'
+ url 'http://sourceforge.net/projects/bashdb/files/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