Sha256: 263bb1733bb14e0df09e308ce0ab96d9aabff0ac56a9cd4f433a01647b989e27

Contents?: true

Size: 591 Bytes

Versions: 6

Compression:

Stored size: 591 Bytes

Contents

require 'formula'

class Libuv < Formula
  homepage 'https://github.com/joyent/libuv'
  head 'https://github.com/avalanche123/libuv.git'

  def install
    system "svn", "co", "http://gyp.googlecode.com/svn/trunk", "build/gyp"
    system './gyp_uv -f xcode -Dtarget_arch=x64'
    system 'xcodebuild', '-project', 'uv.xcodeproj', '-configuration', 'Release', '-target', 'All'

    cd 'include' do
      include.install Dir['*.h']
      (include+"uv-private").install Dir['uv-private/*.h']
    end

    lib.install 'build/Release/libuv.a'
    lib.install 'build/Release/libuv.dylib'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
uvrb-0.2.0 Formula/libuv.rb
uvrb-0.1.4 Formula/libuv.rb
uvrb-0.1.3 Formula/libuv.rb
uvrb-0.1.2 Formula/libuv.rb
uvrb-0.1.1 Formula/libuv.rb
uvrb-0.1.0 Formula/libuv.rb