2011-06-27 14:49:32 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libwps < Formula
|
|
|
|
homepage 'http://libwps.sourceforge.net'
|
2012-08-18 23:06:57 +00:00
|
|
|
url 'http://sourceforge.net/projects/libwps/files/libwps/libwps-0.2.7/libwps-0.2.7.tar.bz2'
|
|
|
|
sha1 'ccd0b0083a367f293be85f7cea5ba9a8a4355d5c'
|
2011-06-27 14:49:32 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'libwpd'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
# Installing Doxygen docs trips up make install
|
|
|
|
"--prefix=#{prefix}", "--without-docs"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|