blob: 635ef9bd26fc2bf7e50cf68d01a17541bf4c06ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
|