homebrew-core/Formula/abiword.rb
2013-01-26 13:57:59 -08:00

50 lines
1.2 KiB
Ruby

require 'formula'
class Abiword < Formula
homepage 'http://www.abisource.com/'
url 'http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz'
sha1 '998f69d038000b3fc027d4259548f02d67c8d0df'
devel do
url 'http://www.abisource.com/downloads/abiword/2.9.4/source/abiword-2.9.4.tar.gz'
sha1 '67cfbc633129128a1aa48ffba8959229cef2ebdd'
end
depends_on :libpng
depends_on 'jpeg'
depends_on 'fribidi'
depends_on 'libgsf'
depends_on 'enchant'
depends_on 'cairo'
depends_on 'pango'
depends_on 'wv'
depends_on 'imagemagick'
def patches
if build.devel?
{:p0 => "http://bugzilla.abisource.com/attachment.cgi?id=5477"}
else
DATA
end
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
__END__
diff --git a/src/af/util/xp/ut_go_file.h b/src/af/util/xp/ut_go_file.h
index e29d7b7..8d5f608 100644
--- a/src/af/util/xp/ut_go_file.h
+++ b/src/af/util/xp/ut_go_file.h
@@ -31,7 +31,6 @@
#include <glib.h>
#include <gsf/gsf.h>
-#include <glib/gerror.h>
#include <time.h>
G_BEGIN_DECLS