aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorRob Warner2013-04-29 06:59:26 -0400
committerAdam Vandenberg2013-05-02 10:09:54 -0700
commitf646a5529ba4d0ff52e63a6d064d05ecca24f2c9 (patch)
tree6cdfc68885a2ea4628c130a77f26d30a49d6be61 /Library/Formula
parent724b1722fc7e0bed9184260e006f3da4c7ddaf33 (diff)
downloadhomebrew-f646a5529ba4d0ff52e63a6d064d05ecca24f2c9.tar.bz2
Wry 1.4
Closes #19504. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wry.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/wry.rb b/Library/Formula/wry.rb
new file mode 100644
index 000000000..c61d59ecd
--- /dev/null
+++ b/Library/Formula/wry.rb
@@ -0,0 +1,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