aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lablgtk.rb
blob: 9c3ecf7d82570903f3c2b0e2f02e66947e1aa51e (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 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+'

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