blob: c61d59ecdf5ae9f7f0943847e20f635501be6ae4 (
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.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
|