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
|
|
|
homepage 'http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk.html'
|
2012-07-26 14:03:07 +00:00
|
|
|
url 'http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/dist/lablgtk-2.14.2.tar.gz'
|
|
|
|
sha1 'fd184418ccbc542825748ca63fba75138d2ea561'
|
2010-09-24 12:13:45 +00:00
|
|
|
|
2013-02-10 05:53:26 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2012-07-26 14:03:07 +00:00
|
|
|
depends_on :x11
|
2010-09-24 12:13:45 +00:00
|
|
|
depends_on 'objective-caml'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
|
|
|
|
def install
|
2012-07-26 14:03:07 +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
|