homebrew-core/Formula/libwpd.rb

20 lines
530 B
Ruby
Raw Normal View History

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/'
url 'https://downloads.sourceforge.net/libwpd/libwpd-0.9.9.tar.bz2'
sha1 '74d13c4e5137edc78660059257671b5a1f40224d'
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
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
ENV.deparallelize # Needs a serialized install
2010-02-07 22:09:05 +00:00
system "make install"
end
end