homebrew-core/Formula/plzip.rb
nibbles 2bits a6e66fcb01 plzip 0.9
Upgrade plzip to version 0.9.
Correct the configure flags.  It builds just like lzlib, lzip.
Add make check (~2sec) for data integrity. Is massively parallel.

Closes Homebrew/homebrew#11716.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-18 00:08:11 -05:00

17 lines
446 B
Ruby

require 'formula'
class Plzip < Formula
homepage 'http://www.nongnu.org/lzip/plzip.html'
url 'http://download.savannah.gnu.org/releases/lzip/plzip-0.9.tar.gz'
sha1 '051d9094a4d7b98c76b92ad2e48e963ca5bf100f'
depends_on 'lzlib'
def install
system "./configure", "--prefix=#{prefix}", "CXX=#{ENV.cxx}",
"CXXFLAGS=#{ENV.cflags}"
system "make"
system "make check"
system "make install"
end
end