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 Homebrew/homebrew#17887.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
George Macon 2013-02-16 11:08:04 -05:00 committed by Jack Nagel
parent 9f0449d372
commit c745d78cce

19
Formula/agedu.rb Normal file
View file

@ -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