2010-09-24 12:13:45 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Lablgtk < Formula
|
2010-09-24 12:13:45 +00:00
|
|
|
url 'http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/dist/lablgtk-2.14.2.tar.gz'
|
|
|
|
homepage 'http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk.html'
|
|
|
|
md5 'bad77680a72dab8b915cae99d1ec9b1f'
|
|
|
|
|
|
|
|
depends_on 'objective-caml'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
|
|
|
|
def install
|
2011-04-05 13:36:26 +00:00
|
|
|
system "./configure", "--bindir=#{bin}", "--libdir=#{lib}", "--mandir=#{man}", "--with-libdir=#{lib}/ocaml"
|
2010-09-24 12:13:45 +00:00
|
|
|
ENV.j1
|
2011-04-05 13:36:26 +00:00
|
|
|
system "make world"
|
2010-09-24 12:13:45 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|