aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/blueutil.rb
blob: 6f4027d03aef92c5d1226ebe1b07637655a1d105 (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/archive/v1.0.0.tar.gz'
  sha1 'b1cce64f7fa87eb0cfa32ef8e1dfc1aa06dbbd98'

  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