2010-05-17 21:19:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Dia <Formula
|
2011-01-14 18:46:11 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/gnome/sources/dia/0.97/dia-0.97.1.tar.bz2'
|
2010-07-26 15:41:23 +00:00
|
|
|
homepage 'http://live.gnome.org/Dia'
|
2011-01-14 18:46:11 +00:00
|
|
|
sha256 '8dfe8b2c9d87baf29834c8de5e3ec91497c2b17f2b77fb1b867afddf5c429142'
|
2010-07-26 15:41:23 +00:00
|
|
|
|
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
|