6c55f251ab
Add HEAD version of ncdu Closes Homebrew/homebrew#22425. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
500 B
Ruby
18 lines
500 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 'git://g.blicky.net/ncdu.git'
|
|
|
|
depends_on :automake if build.head?
|
|
depends_on :autoconf if build.head?
|
|
|
|
def install
|
|
system "autoreconf", "-i" if build.head?
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|