2014-01-05 16:17:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Zenity < Formula
|
|
|
|
homepage 'http://live.gnome.org/Zenity'
|
2014-04-03 14:25:42 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/gnome/sources/zenity/2.32/zenity-2.32.1.tar.gz'
|
2014-01-05 16:17:35 +00:00
|
|
|
sha1 '41f323f88299618cefdde03fce95b283e5d81c8b'
|
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'intltool' => :build
|
|
|
|
depends_on 'libxml2'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
depends_on 'gnome-doc-utils'
|
|
|
|
depends_on 'scrollkeeper'
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.append_path 'PYTHONPATH', HOMEBREW_PREFIX/"opt/libxml2/lib/python2.7/site-packages"
|
|
|
|
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|