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:
parent
9f0449d372
commit
c745d78cce
1 changed files with 19 additions and 0 deletions
19
Formula/agedu.rb
Normal file
19
Formula/agedu.rb
Normal 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
|
Loading…
Reference in a new issue