homebrew-core/Formula/plzip.rb

18 lines
446 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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