b8991ac3b4
A C++ logging framework from Google. The latest release doesn't compile on Mac OS, but the SVN HEAD seems to work. Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Comment why url is commented out autoreconf: upstream has a libtool script checked into SVN that doesn't work on Mac OS. Just running configure/make gave me compile errors; explicitly running autoreconf first made it work.
17 lines
512 B
Ruby
17 lines
512 B
Ruby
require 'formula'
|
|
|
|
class Glog <Formula
|
|
# Stable tarball doesn't build on OS X, but trunk does
|
|
#url 'http://google-glog.googlecode.com/files/glog-0.3.0.tar.gz'
|
|
head 'http://google-glog.googlecode.com/svn/trunk/'
|
|
homepage 'http://code.google.com/p/google-glog/'
|
|
md5 '968fe4bfbaddba315bf52de310dcadc5'
|
|
|
|
depends_on 'gflags'
|
|
|
|
def install
|
|
system "autoreconf -f -i"
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|