2010-12-28 04:24:17 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Abiword < Formula
|
2010-12-28 04:24:17 +00:00
|
|
|
homepage 'http://www.abisource.com/'
|
2012-02-15 04:05:55 +00:00
|
|
|
url 'http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz'
|
2010-12-28 04:24:17 +00:00
|
|
|
md5 'f883b0a7f26229a9c66fd6a1a94381aa'
|
|
|
|
|
2012-02-15 04:05:55 +00:00
|
|
|
devel do
|
|
|
|
url 'http://www.abisource.com/downloads/abiword/2.9.2/source/abiword-2.9.2.tar.gz'
|
|
|
|
sha1 '34a6e4e9c5619e8f2d619ac844519fc9378405b3'
|
|
|
|
end
|
|
|
|
|
2010-12-28 04:24:17 +00:00
|
|
|
depends_on 'jpeg'
|
|
|
|
depends_on 'fribidi'
|
|
|
|
depends_on 'libgsf'
|
|
|
|
depends_on 'enchant'
|
|
|
|
depends_on 'cairo'
|
|
|
|
depends_on 'pango'
|
|
|
|
depends_on 'imagemagick'
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.libpng
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|