2010-02-07 22:09:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libwpd < Formula
|
2010-02-07 22:09:05 +00:00
|
|
|
homepage 'http://libwpd.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/libwpd/libwpd-0.9.9.tar.bz2'
|
2013-09-15 23:13:44 +00:00
|
|
|
sha1 '74d13c4e5137edc78660059257671b5a1f40224d'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2014-05-01 21:08:51 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "334b0073856d5a5dd70975f3f6500023a3e0df59" => :mavericks
|
|
|
|
sha1 "ee03031fa7a4aa04972448d9b8d5107b270e564c" => :mountain_lion
|
|
|
|
sha1 "c8f4dbf438c435c0a34c3a9984a2951bc2b418de" => :lion
|
|
|
|
end
|
|
|
|
|
2013-02-10 06:28:13 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-02-07 22:09:05 +00:00
|
|
|
depends_on "glib"
|
|
|
|
depends_on "libgsf"
|
|
|
|
|
|
|
|
def install
|
2012-07-29 14:55:52 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2011-06-27 14:32:07 +00:00
|
|
|
system "make"
|
2012-07-29 14:55:52 +00:00
|
|
|
ENV.deparallelize # Needs a serialized install
|
2010-02-07 22:09:05 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|