aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fsv.rb
blob: e5ab38db23ce380a5952638fae91b5418c7c4a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require "formula"

class Fsv < Formula
  homepage "http://fsv.sourceforge.net/"
  url "https://github.com/mcuelenaere/fsv.git", :tag => "fsv-0.9-1"
  version "0.9.1"

  depends_on "pkg-config" => :build
  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "libtool" => :build
  depends_on :x11
  depends_on "gtk+"
  depends_on "gtkglarea"

  def install
    ENV["LIBTOOLIZE"] = "glibtoolize"
    system "./autogen.sh"
    system "./configure", "--prefix=#{prefix}"
    system "make", "install"
  end
end