diff options
| author | George Macon | 2013-02-16 11:08:04 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-03-10 00:01:41 -0600 |
| commit | 25e954852df5a44022e975c252a2efd627147463 (patch) | |
| tree | 57c4820d7c9dcae9bafd80dcc438e72d7180fbd6 /Library | |
| parent | 098799947c06ca961eb430789c928f0fac3c46bc (diff) | |
| download | homebrew-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>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/agedu.rb | 19 |
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 |
