homebrew-core/Formula/wry.rb
Rob Warner 6da9729557 Wry 1.4
Closes Homebrew/homebrew#19504.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-02 10:09:54 -07:00

27 lines
575 B
Ruby

require 'formula'
class LionOrNewer < Requirement
fatal true
satisfy MacOS.version >= :lion
def message
"Wry requires Mac OS X 10.7 or newer."
end
end
class Wry < Formula
homepage 'http://grailbox.com/wry/'
url 'https://github.com/hoop33/wry/archive/v1.4.1.tar.gz'
sha1 '303c02c21b1046c92ca37e584a3a77cfe37381b2'
head 'https://github.com/hoop33/wry.git'
depends_on LionOrNewer
depends_on :xcode
def install
system 'xcodebuild -target wry -configuration Release SYMROOT=build OBJROOT=objroot'
bin.install 'build/Release/wry'
end
end