homebrew-core/Formula/diffuse.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

20 lines
503 B
Ruby

require 'formula'
class Diffuse < Formula
homepage 'http://diffuse.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/diffuse/diffuse/0.4.7/diffuse-0.4.7.tar.bz2'
sha1 '9e3b906b579495027b76dc723b5df28e400d3f26'
depends_on 'pygtk'
def install
system "python", "./install.py",
"--sysconfdir=#{etc}",
"--examplesdir=#{share}",
"--prefix=#{prefix}"
end
test do
system "#{bin}/diffuse", "--help"
end
end