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

class Lablgtk < Formula
  homepage 'http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk.html'
  url 'http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/dist/lablgtk-2.14.2.tar.gz'
  sha1 'fd184418ccbc542825748ca63fba75138d2ea561'

  depends_on 'pkg-config' => :build
  depends_on :x11
  depends_on 'objective-caml'
  depends_on 'gtk+'
  depends_on 'librsvg'

  def install
    system "./configure", "--bindir=#{bin}",
                          "--libdir=#{lib}",
                          "--mandir=#{man}",
                          "--with-libdir=#{lib}/ocaml"
    ENV.j1
    system "make world"
    system "make install"
  end
end