blob: 617208586de4ab9dcbdacbfd91f46f40baf89a55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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
|