2010-08-29 19:34:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ledit < Formula
|
2010-08-29 19:34:47 +00:00
|
|
|
url 'http://pauillac.inria.fr/~ddr/ledit/distrib/src/ledit-2.01.tgz'
|
|
|
|
homepage 'http://pauillac.inria.fr/~ddr/ledit/'
|
|
|
|
md5 '24faa563dff1091aea2e744b1ec15fbb'
|
|
|
|
|
|
|
|
depends_on 'objective-caml'
|
|
|
|
depends_on 'camlp5'
|
|
|
|
|
|
|
|
def install
|
2010-10-21 14:54:17 +00:00
|
|
|
# like camlp5, this build fails if the jobs are parallelized
|
2011-12-09 19:48:01 +00:00
|
|
|
ENV.deparallelize
|
2012-05-15 18:31:21 +00:00
|
|
|
args = %W[BINDIR=#{bin} LIBDIR=#{lib} MANDIR=#{man}]
|
|
|
|
system "make", *args
|
|
|
|
system "make", "install", *args
|
2010-08-29 19:34:47 +00:00
|
|
|
end
|
|
|
|
end
|