21 lines
525 B
Ruby
21 lines
525 B
Ruby
require 'formula'
|
|
|
|
# Note that x.even are stable releases, x.odd are devel releases
|
|
class Libuv < Formula
|
|
homepage 'https://github.com/joyent/libuv'
|
|
url 'https://github.com/joyent/libuv/archive/v0.10.13.tar.gz'
|
|
sha1 'f1bb5671ef6b45606d4cf17816f173dda3d47a92'
|
|
|
|
head 'https://github.com/joyent/libuv.git', :branch => 'master'
|
|
|
|
option :universal
|
|
|
|
def install
|
|
ENV.universal_binary if build.universal?
|
|
|
|
system 'make', 'libuv.dylib'
|
|
|
|
include.install Dir['include/*']
|
|
lib.install 'libuv.dylib'
|
|
end
|
|
end
|