homebrew-core/Formula/di.rb
Rogério Brito 49b820ce25 di 4.31
Add a simple formulat for `di`, a better `df`.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-12 21:03:17 -07:00

16 lines
357 B
Ruby

require 'formula'
class Di < Formula
homepage 'http://www.gentoo.com/di/'
url 'http://gentoo.com/di/di-4.31.tar.gz'
md5 'f324ec49888c6c642c998ee8c3a8ce21'
def install
system "make", "prefix=#{prefix}", "DI_MANDIR=#{man1}"
system "make", "install", "prefix=#{prefix}", "DI_MANDIR=#{man1}"
end
def test
system "#{bin}/di"
end
end