aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Riveiro2013-01-03 19:44:20 +0400
committerCharlie Sharpsteen2013-01-09 16:13:33 -0800
commit46495205f25cec1b8b159df54428b70c4f5253c0 (patch)
tree9e00bde2ef914bea2d9c9526d869a1ebb640d018 /Library/Formula
parentefb9a8ad594055bded0d8b45e9cd5ca643c4aea1 (diff)
downloadhomebrew-46495205f25cec1b8b159df54428b70c4f5253c0.tar.bz2
New Formula: libuv
Closes #16867. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libuv.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/libuv.rb b/Library/Formula/libuv.rb
new file mode 100644
index 000000000..01da5c51e
--- /dev/null
+++ b/Library/Formula/libuv.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Libuv < Formula
+ homepage 'https://github.com/joyent/libuv'
+ url 'https://github.com/joyent/libuv/archive/node-v0.9.4.zip'
+ sha1 '7f2120e79ea037a7b6067689958153ec4198177c'
+
+ head 'https://github.com/joyent/libuv.git', :branch => 'master'
+
+ def install
+ system 'make', 'libuv.dylib'
+
+ include.install Dir['include/*']
+ lib.install 'libuv.dylib'
+ end
+end