blob: aa79add578b0f932c9e448df741f6412c3054804 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  | 
require 'formula'
class Blueutil < Formula
  homepage 'https://github.com/toy/blueutil'
  url 'https://github.com/toy/blueutil/tarball/v1.0.0'
  sha1 '64df692f32e920590746ca9d7dc0ea19c3b5c909'
  head 'https://github.com/toy/blueutil.git'
  depends_on :xcode # For working xcodebuild.
  def install
    # Set to build with SDK=macosx10.6, but it doesn't actually need 10.6
    system 'xcodebuild', 'SDKROOT=', 'SYMROOT=build'
    bin.install 'build/Release/blueutil'
  end
end
  |