2010-05-17 21:19:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Dia <Formula
|
2010-07-26 15:41:23 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/gnome/sources/dia/0.97/dia-0.97.tar.bz2'
|
|
|
|
homepage 'http://live.gnome.org/Dia'
|
|
|
|
md5 '3d11f9aaa5a4923f0a5533962c87bdfb'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-05-17 21:19:05 +00:00
|
|
|
depends_on 'intltool'
|
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'pango'
|
|
|
|
depends_on 'libtiff'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
2010-07-26 15:41:23 +00:00
|
|
|
rm_rf share+"applications"
|
2010-05-17 21:19:05 +00:00
|
|
|
end
|
|
|
|
end
|