diff options
| author | nibbles 2bits | 2012-04-10 12:58:06 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-04-10 19:05:08 -0700 |
| commit | 693a9d58c9c9205d7ebd525c1f8da3863f87bf8c (patch) | |
| tree | 309c4cc58a4b861da311409c34a206f5fd3c5f33 /Library | |
| parent | 98d087586a50afb04101f36f3e484c7b406e4c70 (diff) | |
| download | homebrew-693a9d58c9c9205d7ebd525c1f8da3863f87bf8c.tar.bz2 | |
lzlib 1.3
* Upgrade lzlib to version 1.3.
* Correct configure flags. It is a C library, not C++. Before it
would always compile with gcc. It only uses CC and CFLAGS.
* Add make check because it's a compression library, and data
integrity seems worth the 2 seconds extra.
Tested on Lion and 64bit Snow Leopard with all compilers from
XCode-4.3.2 and 4.0.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/lzlib.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/lzlib.rb b/Library/Formula/lzlib.rb index 46ad1804e..b70d9e957 100644 --- a/Library/Formula/lzlib.rb +++ b/Library/Formula/lzlib.rb @@ -1,16 +1,16 @@ require 'formula' class Lzlib < Formula - url 'http://download.savannah.gnu.org/releases/lzip/lzlib-1.2.tar.gz' homepage 'http://www.nongnu.org/lzip/lzlib.html' - md5 '7a77358000929bb0a31ad6b68a139b9d' + url 'http://download.savannah.gnu.org/releases/lzip/lzlib-1.3.tar.gz' + sha1 '788de95072cd2cf89d763b441a7fc76395193265' def install system "./configure", "--prefix=#{prefix}", - "CXX=#{ENV.cxx}", - "CPPFLAGS=#{ENV.cppflags}", - "CXXFLAGS=#{ENV.cflags}", - "LDFLAGS=#{ENV.ldflags}" + "CC=#{ENV.cc}", + "CFLAGS=#{ENV.cflags}" + system "make" + system "make check" system "make install" end end |
