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
|
|
|
homepage 'http://pauillac.inria.fr/~ddr/ledit/'
|
2013-01-18 02:46:52 +00:00
|
|
|
url 'http://pauillac.inria.fr/~ddr/ledit/distrib/src/ledit-2.03.tgz'
|
|
|
|
sha1 '8fef728f38e8d6fc30dd5f71dd5b6b647212a43a'
|
2010-08-29 19:34:47 +00:00
|
|
|
|
|
|
|
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
|