2010-01-03 02:19:34 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ncdu < Formula
|
2010-01-03 02:19:34 +00:00
|
|
|
homepage 'http://dev.yorhel.nl/ncdu'
|
2013-09-09 23:36:30 +00:00
|
|
|
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
|
2010-01-03 02:19:34 +00:00
|
|
|
|
|
|
|
def install
|
2013-09-09 23:36:30 +00:00
|
|
|
system "autoreconf", "-i" if build.head?
|
2013-01-29 04:58:43 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2010-01-03 02:19:34 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|