homebrew-core/Formula/dia.rb
Jack Nagel 0e6c00ef36 dia: fix build on Leopard
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01 14:10:13 -06:00

22 lines
596 B
Ruby

require 'formula'
class Dia < Formula
url 'http://ftp.gnome.org/pub/gnome/sources/dia/0.97/dia-0.97.1.tar.bz2'
homepage 'http://live.gnome.org/Dia'
sha256 '8dfe8b2c9d87baf29834c8de5e3ec91497c2b17f2b77fb1b867afddf5c429142'
depends_on 'pkg-config' => :build
depends_on 'intltool'
depends_on 'gettext'
depends_on 'pango'
depends_on 'libtiff'
depends_on 'gtk+'
def install
ENV.x11
inreplace 'objects/GRAFCET/boolequation.c', 'isspecial', 'char_isspecial'
system "./configure", "--prefix=#{prefix}"
system "make install"
rm_rf share+"applications"
end
end