homebrew-core/Formula/libwpg.rb
2012-09-03 11:36:42 -07:00

17 lines
504 B
Ruby

require 'formula'
class Libwpg < Formula
url 'http://downloads.sourceforge.net/project/libwpg/libwpg/libwpg-0.2.0/libwpg-0.2.0.tar.bz2'
sha1 '34a692566bda66488f83c635774d1bd92cee0fdf'
homepage 'http://libwpg.sourceforge.net/'
depends_on 'libwpd'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
# Separate steps or install can fail due to folders not existing
system "make"
ENV.j1
system "make install"
end
end