2012-01-29 18:51:59 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Wv2 < Formula
|
|
|
|
homepage 'http://wvware.sourceforge.net/'
|
2013-01-27 23:27:13 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/wvware/wv2-0.4.2.tar.bz2'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'f04fceb02c048ae46fbe679caaf694e40214a547'
|
2012-01-29 18:51:59 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'libgsf'
|
|
|
|
|
|
|
|
def install
|
2012-02-25 07:39:12 +00:00
|
|
|
ENV.append 'LDFLAGS', '-liconv -lgobject-2.0' # work around broken detection
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", ".", *std_cmake_args
|
2012-01-29 18:51:59 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|