aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/unyaffs.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/unyaffs.rb b/Library/Formula/unyaffs.rb
new file mode 100644
index 000000000..4c2918688
--- /dev/null
+++ b/Library/Formula/unyaffs.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Unyaffs <Formula
+ head 'http://unyaffs.googlecode.com/svn/trunk/'
+ homepage 'http://code.google.com/p/unyaffs/'
+
+ def install
+ cc_args = ENV['CFLAGS'].split(' ')
+ (cc_args << ['-o', 'unyaffs', 'unyaffs.c']).flatten!
+ system ENV.cc, *cc_args
+
+ bin.install 'unyaffs'
+ end
+end