dia 0.97.2

Upgrade dia to version 0.97.2.
Add standard disable-debug and dependency-tracking options.
Tested on Lion 10.7.3.  Passes make check.

Closes Homebrew/homebrew#10003.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Nibbles 2bits 2012-02-05 23:31:29 -08:00 committed by Jack Nagel
parent 949c161485
commit 797fd29d89
1 changed files with 5 additions and 4 deletions

View File

@ -1,9 +1,9 @@
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'
url 'http://ftp.gnome.org/pub/gnome/sources/dia/0.97/dia-0.97.2.tar.xz'
sha256 'a761478fb98697f71b00d3041d7c267f3db4b94fe33ac07c689cb89c4fe5eae1'
depends_on 'pkg-config' => :build
depends_on 'intltool'
@ -14,8 +14,9 @@ class Dia < Formula
def install
ENV.x11
inreplace 'objects/GRAFCET/boolequation.c', 'isspecial', 'char_isspecial'
system "./configure", "--prefix=#{prefix}"
system "./configure", "--enable-debug=no",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
rm_rf share+"applications"
end