homebrew-core/Formula/wry.rb
Rob Warner cc467072c2 wry 1.5
Closes Homebrew/homebrew#19823.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-14 16:13:13 -07:00

27 lines
573 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.5.tar.gz'
sha1 '56f03ff07b19b2b5489d024b60c1b1d23f347961'
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