aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Macon2013-02-16 11:08:04 -0500
committerJack Nagel2013-03-10 00:01:41 -0600
commit25e954852df5a44022e975c252a2efd627147463 (patch)
tree57c4820d7c9dcae9bafd80dcc438e72d7180fbd6
parent098799947c06ca961eb430789c928f0fac3c46bc (diff)
downloadhomebrew-25e954852df5a44022e975c252a2efd627147463.tar.bz2
New formula: agedu
From the home page: agedu: a Unix utility for tracking down wasted disk space This program is similar to du, but also reports the age of the large data. This allows you to find folders full of data that _haven't been accessed in a while_. Closes #17887. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Formula/agedu.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/agedu.rb b/Library/Formula/agedu.rb
new file mode 100644
index 000000000..f19e810c5
--- /dev/null
+++ b/Library/Formula/agedu.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Agedu < Formula
+ homepage 'http://www.chiark.greenend.org.uk/~sgtatham/agedu/'
+ url 'http://www.chiark.greenend.org.uk/~sgtatham/agedu/agedu-r9723.tar.gz'
+ version 'r9723'
+ sha1 '35425ade20051f00235fe58729093249f2685de3'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ test do
+ system "#{bin}/agedu", "-s", "."
+ File.exist? "agedu.dat"
+ end
+end