blob: f5b8567d2a9a692e519781dfce3056599676a7fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  | 
require 'formula'
class Wv2 < Formula
  url 'http://downloads.sourceforge.net/project/wvware/wv2-0.4.2.tar.bz2'
  homepage 'http://wvware.sourceforge.net/'
  sha1 'f04fceb02c048ae46fbe679caaf694e40214a547'
  depends_on 'pkg-config' => :build
  depends_on 'glib'
  depends_on 'libgsf'
  def install
    ENV.append 'LDFLAGS', '-liconv -lgobject-2.0' # work around broken detection
    system "cmake", ".", *std_cmake_args
    system "make install"
  end
end
  |