2013-01-24 22:40:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Diffuse < Formula
|
|
|
|
homepage 'http://diffuse.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/diffuse/diffuse/0.4.7/diffuse-0.4.7.tar.bz2'
|
2013-05-23 14:25:40 +00:00
|
|
|
sha1 '9e3b906b579495027b76dc723b5df28e400d3f26'
|
2013-01-24 22:40:09 +00:00
|
|
|
|
|
|
|
depends_on 'pygtk'
|
|
|
|
|
|
|
|
def install
|
2014-01-04 13:04:15 +00:00
|
|
|
system "python", "./install.py",
|
2013-01-24 22:40:09 +00:00
|
|
|
"--sysconfdir=#{etc}",
|
|
|
|
"--examplesdir=#{share}",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2013-01-24 22:40:09 +00:00
|
|
|
system "#{bin}/diffuse", "--help"
|
|
|
|
end
|
|
|
|
end
|