homebrew-core/Formula/di.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

16 lines
365 B
Ruby

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