lablgtk: add x11 dep

master
Adam Vandenberg 2012-07-26 07:03:07 -07:00
parent 89d7607a6d
commit 96e245af09
1 changed files with 7 additions and 3 deletions

View File

@ -1,15 +1,19 @@
require 'formula'
class Lablgtk < Formula
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'
url 'http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/dist/lablgtk-2.14.2.tar.gz'
sha1 'fd184418ccbc542825748ca63fba75138d2ea561'
depends_on :x11
depends_on 'objective-caml'
depends_on 'gtk+'
def install
system "./configure", "--bindir=#{bin}", "--libdir=#{lib}", "--mandir=#{man}", "--with-libdir=#{lib}/ocaml"
system "./configure", "--bindir=#{bin}",
"--libdir=#{lib}",
"--mandir=#{man}",
"--with-libdir=#{lib}/ocaml"
ENV.j1
system "make world"
system "make install"