glog
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.
This commit is contained in:
parent
37c861d06b
commit
b8991ac3b4
1 changed files with 17 additions and 0 deletions
17
Formula/glog.rb
Normal file
17
Formula/glog.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
Loading…
Reference in a new issue