homebrew-core/Formula/libwpg.rb

20 lines
563 B
Ruby
Raw Normal View History

2010-02-07 22:15:15 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Libwpg < Formula
2013-01-29 05:29:44 +00:00
homepage 'http://libwpg.sourceforge.net/'
url 'http://sourceforge.net/projects/libwpg/files/libwpg/libwpg-0.2.2/libwpg-0.2.2.tar.bz2'
sha1 'e9484e795259485ece9a984f60776704d55afeeb'
depends_on 'pkg-config' => :build
2010-02-07 22:15:15 +00:00
depends_on 'libwpd'
def install
2013-01-29 05:29:44 +00:00
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
2011-09-15 21:21:54 +00:00
# Separate steps or install can fail due to folders not existing
system "make"
ENV.j1
2010-02-07 22:15:15 +00:00
system "make install"
end
end