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/'
|
2011-03-28 19:10:49 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/libwpg/libwpg/libwpg-0.2.0/libwpg-0.2.0.tar.bz2'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '34a692566bda66488f83c635774d1bd92cee0fdf'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
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
|