aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorPatrick Walton2010-04-23 18:00:49 -0700
committerAdam Vandenberg2010-06-30 12:27:02 -0700
commit5117882e06f6e1a34c6b20dcdb8c5d8a1ffe0996 (patch)
treef647b10e5ec00cb5dce1e308b4eda74c5e42f859 /Library/Formula
parent24af190e475dbc2ab16beedbd7b8e9ec58984db6 (diff)
downloadhomebrew-5117882e06f6e1a34c6b20dcdb8c5d8a1ffe0996.tar.bz2
Add OMake (OCaml build system) formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Renamed to match naming conventions
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/o-make.rb34
1 files changed, 34 insertions, 0 deletions
diff --git a/Library/Formula/o-make.rb b/Library/Formula/o-make.rb
new file mode 100644
index 000000000..c59861efb
--- /dev/null
+++ b/Library/Formula/o-make.rb
@@ -0,0 +1,34 @@
+require 'formula'
+
+class OMake <Formula
+ url 'http://omake.metaprl.org/downloads/omake-0.9.8.5-3.tar.gz'
+ homepage 'http://omake.metaprl.org/'
+ md5 'd114b3c4201808aacd73ec1a98965c47'
+ aka "omake"
+
+ depends_on 'objective-caml'
+
+ def patches
+ # removes reference to missing caml_sync in OS X OCaml
+ DATA
+ end
+
+ def install
+ system "make install PREFIX=#{prefix}"
+ end
+end
+
+__END__
+diff --git a/src/exec/omake_exec.ml b/src/exec/omake_exec.ml
+index 8c034b5..7e40b35 100644
+--- a/src/exec/omake_exec.ml
++++ b/src/exec/omake_exec.ml
+@@ -46,8 +46,6 @@ open Omake_exec_notify
+ open Omake_options
+ open Omake_command_type
+
+-external sync : unit -> unit = "caml_sync"
+-
+ module Exec =
+ struct
+ (*