2011-06-27 14:49:32 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libwps < Formula
|
|
|
|
homepage 'http://libwps.sourceforge.net'
|
2013-06-20 23:08:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/libwps/libwps/libwps-0.2.9/libwps-0.2.9.tar.bz2'
|
2013-06-14 20:19:12 +00:00
|
|
|
sha1 '04acc2c13485f8b9e714a5d2b4eb3e77f643d23e'
|
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
|