homebrew-core/Formula/lablgtk.rb

23 lines
623 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Lablgtk < Formula
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'
2013-02-10 05:53:26 +00:00
depends_on 'pkg-config' => :build
2012-07-26 14:03:07 +00:00
depends_on :x11
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"
ENV.j1
system "make world"
system "make install"
end
end