2016-01-11 17:13:09 +00:00
|
|
|
class Agedu < Formula
|
|
|
|
desc "Unix utility for tracking down wasted disk space"
|
|
|
|
homepage "http://www.chiark.greenend.org.uk/~sgtatham/agedu/"
|
2016-03-10 15:30:43 +00:00
|
|
|
url "http://www.chiark.greenend.org.uk/~sgtatham/agedu/agedu-20160302.a05fca7.tar.gz"
|
|
|
|
version "20160302"
|
|
|
|
sha256 "2de59dab2c79d119faefb0c34fad26ec07e209d739538f2eaac96ed0f5473c5a"
|
2016-01-11 17:13:09 +00:00
|
|
|
|
|
|
|
head "git://git.tartarus.org/simon/agedu.git"
|
|
|
|
|
2016-01-12 01:38:58 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
2016-03-10 16:26:08 +00:00
|
|
|
sha256 "cb9bb1e8c51a69f1ce4d857db94407b4b18fe1030009b53ee780a2af1cebf593" => :el_capitan
|
|
|
|
sha256 "66cfeff80d76e872869e51c49dbd2d73ffcf9a3b84b8c89797d19ba139294399" => :yosemite
|
|
|
|
sha256 "fd35fb9e4eccd3c34074c59b8352353d955339a5eb5e992632f7c4c122ada290" => :mavericks
|
2016-01-12 01:38:58 +00:00
|
|
|
end
|
|
|
|
|
2016-01-11 17:13:09 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "halibut" => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./mkauto.sh"
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/agedu", "-s", "."
|
|
|
|
assert (testpath/"agedu.dat").exist?
|
|
|
|
end
|
|
|
|
end
|