2011-04-30 05:30:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Blueutil < Formula
|
|
|
|
homepage 'https://github.com/toy/blueutil'
|
2013-03-29 01:03:20 +00:00
|
|
|
url 'https://github.com/toy/blueutil/archive/v1.0.0.tar.gz'
|
|
|
|
sha1 'b1cce64f7fa87eb0cfa32ef8e1dfc1aa06dbbd98'
|
2012-02-26 15:36:40 +00:00
|
|
|
|
|
|
|
head 'https://github.com/toy/blueutil.git'
|
2011-04-30 05:30:47 +00:00
|
|
|
|
2014-05-30 23:03:52 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "b28c95c99e71944e7e3027c124715eeda0558759" => :mavericks
|
|
|
|
sha1 "2d0b35b8b9bfab35d0a2c1dc3f7fdece65471b11" => :mountain_lion
|
|
|
|
sha1 "409af2fed8bd34eb070c89ea763039373ace8197" => :lion
|
|
|
|
end
|
|
|
|
|
2014-05-30 20:41:18 +00:00
|
|
|
depends_on :xcode => :build
|
2012-08-24 20:40:24 +00:00
|
|
|
|
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
|
2014-02-28 03:47:38 +00:00
|
|
|
xcodebuild 'SDKROOT=', 'SYMROOT=build'
|
2011-04-30 05:30:47 +00:00
|
|
|
bin.install 'build/Release/blueutil'
|
|
|
|
end
|
|
|
|
end
|