homebrew-core/Formula/lzip.rb
nibbles 2bits 53f80afcaa lzip 1.13
* Upgrade lzip to version 1.13.
* Remove --man flag because it installs to the correct location.
* Add make check because it's a compression program, and data
integrity seems worth the 2 sec. extra.
* Add ENV.j1 for make install, otherwise it will occasionally fail.

Tested on Lion and 64bit Snow Leopard using all compilers from
XCode-4.3.2 and 4.0.2.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-10 19:05:42 -07:00

16 lines
441 B
Ruby

require 'formula'
class Lzip < Formula
homepage 'http://www.nongnu.org/lzip/lzip.html'
url 'http://download.savannah.gnu.org/releases/lzip/lzip-1.13.tar.gz'
sha1 '320175e693d9c373d345faac3c51a71b9a3980bc'
def install
system "./configure", "--prefix=#{prefix}",
"CXX=#{ENV.cxx}",
"CXXFLAGS=#{ENV.cflags}"
system "make check"
ENV.j1
system "make install"
end
end