homebrew-core/Formula/ncdu.rb

22 lines
492 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Ncdu < Formula
homepage 'http://dev.yorhel.nl/ncdu'
url 'http://dev.yorhel.nl/download/ncdu-1.10.tar.gz'
sha1 'cf3b5fbb5b69cbae5425bfff2660ac3d8224a605'
2013-09-22 01:47:32 +00:00
head do
url 'git://g.blicky.net/ncdu.git'
depends_on :automake
depends_on :autoconf
end
def install
system "autoreconf", "-i" if build.head?
2013-01-29 04:58:43 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end