2011-04-30 05:30:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Blueutil < Formula
|
|
|
|
homepage 'https://github.com/toy/blueutil'
|
2012-02-26 15:36:40 +00:00
|
|
|
url 'https://github.com/toy/blueutil/tarball/v1.0.0'
|
|
|
|
sha1 '64df692f32e920590746ca9d7dc0ea19c3b5c909'
|
|
|
|
|
|
|
|
head 'https://github.com/toy/blueutil.git'
|
2011-04-30 05:30:47 +00:00
|
|
|
|
2012-08-24 20:40:24 +00:00
|
|
|
depends_on :xcode # For working xcodebuild.
|
|
|
|
|
2011-04-30 05:30:47 +00:00
|
|
|
def install
|
|
|
|
# Set to build with SDK=macosx10.6, but it doesn't actually need 10.6
|
2012-02-26 15:47:11 +00:00
|
|
|
system 'xcodebuild', 'SDKROOT=', 'SYMROOT=build'
|
2011-04-30 05:30:47 +00:00
|
|
|
bin.install 'build/Release/blueutil'
|
|
|
|
end
|
|
|
|
end
|