aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/diffuse.rb
blob: bcc889eb40ba5a1f0861f542b8cdc6c1e648946a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 :python
  depends_on 'pygtk'

  def install
    python do
      system python, "./install.py",
                     "--sysconfdir=#{etc}",
                     "--examplesdir=#{share}",
                     "--prefix=#{prefix}"
    end
  end

  def test
    system "#{bin}/diffuse", "--help"
  end
end