aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJonathan Wright2010-01-03 15:19:34 +1300
committerDavid Höppner2010-02-08 15:50:29 +0100
commit89293d37815fa11568981e3038ce5aeacbbd7e53 (patch)
tree88e69b807770ce164e89c8496f932a31683ab58e /Library/Formula
parentc656e8fbacd61a65aca37d49551248e385ec1c24 (diff)
downloadhomebrew-89293d37815fa11568981e3038ce5aeacbbd7e53.tar.bz2
ncdu 1.6
ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du', and provides a fast way to see what directories are using your disk space. Signed-off-by: David Höppner <0xffea@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ncdu.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/ncdu.rb b/Library/Formula/ncdu.rb
new file mode 100644
index 000000000..01d34525a
--- /dev/null
+++ b/Library/Formula/ncdu.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Ncdu <Formula
+ url 'http://dev.yorhel.nl/download/ncdu-1.6.tar.gz'
+ homepage 'http://dev.yorhel.nl/ncdu'
+ md5 '95d29cf64af2d8cf4b5005e6e3d60384'
+
+ def install
+ # ncdu segfaults when built for 64-bit
+ ENV.m32
+
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end