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'
2013-09-29 00:19:12 +00:00
url 'http://download.savannah.gnu.org/releases/lzip/plzip-1.1.tar.gz'
sha1 '22d3bba78b9219e7976372e24773d3abc0ff4563'
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