homebrew-core/Formula/ncdu.rb
2013-09-21 21:04:48 -05:00

21 lines
492 B
Ruby

require 'formula'
class Ncdu < Formula
homepage 'http://dev.yorhel.nl/ncdu'
url 'http://dev.yorhel.nl/download/ncdu-1.10.tar.gz'
sha1 'cf3b5fbb5b69cbae5425bfff2660ac3d8224a605'
head do
url 'git://g.blicky.net/ncdu.git'
depends_on :automake
depends_on :autoconf
end
def install
system "autoreconf", "-i" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end