aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ledit.rb
blob: ef08068bf1d68c7120a0dc839815f07fcefe41d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Ledit < Formula
  url 'http://pauillac.inria.fr/~ddr/ledit/distrib/src/ledit-2.01.tgz'
  homepage 'http://pauillac.inria.fr/~ddr/ledit/'
  sha1 '97ee7ee60fb8e66cdcc8fc61339e8ab616bcd2df'

  depends_on 'objective-caml'
  depends_on 'camlp5'

  def install
    # like camlp5, this build fails if the jobs are parallelized
    ENV.deparallelize
    args = %W[BINDIR=#{bin} LIBDIR=#{lib} MANDIR=#{man}]
    system "make", *args
    system "make", "install", *args
  end
end