homebrew-core/Formula/dia.rb
2010-10-12 07:13:29 -07:00

20 lines
468 B
Ruby

require 'formula'
class Dia <Formula
url 'http://ftp.gnome.org/pub/gnome/sources/dia/0.97/dia-0.97.tar.bz2'
homepage 'http://live.gnome.org/Dia'
md5 '3d11f9aaa5a4923f0a5533962c87bdfb'
depends_on 'pkg-config' => :build
depends_on 'intltool'
depends_on 'gettext'
depends_on 'pango'
depends_on 'libtiff'
depends_on 'gtk+'
def install
system "./configure", "--prefix=#{prefix}"
system "make install"
rm_rf share+"applications"
end
end