From 693a9d58c9c9205d7ebd525c1f8da3863f87bf8c Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Tue, 10 Apr 2012 12:58:06 -0700 Subject: 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 --- Library/Formula/lzlib.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3