aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gflags.rb
diff options
context:
space:
mode:
authorDouglas Creager2010-04-29 10:31:30 -0400
committerAdam Vandenberg2010-04-29 08:30:36 -0700
commit7d1208b1029af5f04c9af156885035f384fc10ca (patch)
tree04aef60bcbca21b2ae2221b8acac67a7c07ee420 /Library/Formula/gflags.rb
parent00195f55e8c3802b1b50bd4ffb5c561240fdd2ce (diff)
downloadhomebrew-7d1208b1029af5f04c9af156885035f384fc10ca.tar.bz2
gflags
A C++ command-line option parsing framework from Google. Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Removed unused switch
Diffstat (limited to 'Library/Formula/gflags.rb')
-rw-r--r--Library/Formula/gflags.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/gflags.rb b/Library/Formula/gflags.rb
new file mode 100644
index 000000000..d2eb6208f
--- /dev/null
+++ b/Library/Formula/gflags.rb
@@ -0,0 +1,12 @@
+require 'formula'
+
+class Gflags <Formula
+ url 'http://google-gflags.googlecode.com/files/gflags-1.3.tar.gz'
+ homepage 'http://code.google.com/p/google-gflags/'
+ md5 '6da3d3b9cd82c222b521ae686b6cfa8b'
+
+ def install
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make install"
+ end
+end