homebrew-core/Formula/blueutil.rb
Jack Nagel 502ff84d9c Add an xcodebuild helper and deprecate system "xcodebuild"
In the future we can remove the ENV munging branch from Formula#system.

Closes Homebrew/homebrew#27081.
2014-02-27 21:53:21 -06:00

17 lines
451 B
Ruby

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
def install
# Set to build with SDK=macosx10.6, but it doesn't actually need 10.6
xcodebuild 'SDKROOT=', 'SYMROOT=build'
bin.install 'build/Release/blueutil'
end
end