aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/diffuse.rb
blob: 13d8bfebf7bf8373e26424a7ef22c16b69b48ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'formula'

class Diffuse < Formula
  homepage 'http://diffuse.sourceforge.net/'
  url 'http://downloads.sourceforge.net/project/diffuse/diffuse/0.4.6/diffuse-0.4.6.tar.bz2'
  sha1 '29439e2a069ec00bc50347a59ec410d79ab3735e'

  depends_on 'pygtk'

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

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