aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Fuller2010-01-15 16:32:40 +0000
committerAdam Vandenberg2010-05-25 12:56:28 -0700
commit1748cd3de8f51b0ee6d62d5304b3d8a9feaee4d1 (patch)
tree190434aa9ee73f94159d0c8383c7ba5fffb3eea3
parent9326f16a51b5be9db59e0ff511e9321bd2316294 (diff)
downloadhomebrew-1748cd3de8f51b0ee6d62d5304b3d8a9feaee4d1.tar.bz2
New formula for ut-cache
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/ut-cache.rb33
1 files changed, 33 insertions, 0 deletions
diff --git a/Library/Formula/ut-cache.rb b/Library/Formula/ut-cache.rb
new file mode 100644
index 000000000..59ecbc7f8
--- /dev/null
+++ b/Library/Formula/ut-cache.rb
@@ -0,0 +1,33 @@
+require 'formula'
+
+class UtCache <Formula
+ head 'git://github.com/tanj/Unreal-Tournament-Cache.git'
+ homepage 'http://github.com/tanj/Unreal-Tournament-Cache'
+
+ def patches
+ DATA
+ end
+
+ def install
+ system "curl -o getdelim.c http://gist.github.com/raw/278167/26eae93b355d443693c1e8922a328d4a61b4a176/getdelim.c"
+
+ ENV['HOME'] = prefix
+ system "make"
+ system "mkdir #{prefix}/bin"
+ system "make install"
+ end
+end
+
+__END__
+diff --git a/ut-cache.c b/ut-cache.c
+index 70d61ea..9fd1621 100644
+--- a/ut-cache.c
++++ b/ut-cache.c
+@@ -7,6 +7,7 @@
+ the proper directory */
+
+ #include "ut-cache.h"
++#include "getdelim.c"
+
+ void usage(const char *err)
+ {