2010-12-28 01:47:27 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Wv < Formula
|
2011-10-18 09:30:33 +00:00
|
|
|
homepage 'http://wvware.sourceforge.net/'
|
2013-01-27 23:27:27 +00:00
|
|
|
url 'http://abisource.com/downloads/wv/1.2.5/wv-1.2.5.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'a196a31ca1c4083436d9414b9bf4809c0fd7c33c'
|
2010-12-28 01:47:27 +00:00
|
|
|
|
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'libgsf'
|
|
|
|
depends_on 'libwmf'
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :libpng
|
2010-12-28 01:47:27 +00:00
|
|
|
|
|
|
|
def install
|
2011-03-14 20:58:03 +00:00
|
|
|
ENV.libxml2
|
2010-12-28 01:47:27 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2011-03-14 20:58:03 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-12-28 01:47:27 +00:00
|
|
|
system "make"
|
|
|
|
ENV.deparallelize
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|