2010-02-03 22:23:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Lzip <Formula
|
2010-10-04 13:24:23 +00:00
|
|
|
url 'http://download.savannah.gnu.org/releases/lzip/lzip-1.11.tar.gz'
|
2010-02-03 22:23:41 +00:00
|
|
|
homepage 'http://www.nongnu.org/lzip/lzip.html'
|
2010-10-04 13:24:23 +00:00
|
|
|
md5 'ba9d0a705e47bcd2b73145d238aa7b58'
|
2010-02-03 22:23:41 +00:00
|
|
|
|
|
|
|
def install
|
2010-10-04 13:24:23 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}",
|
|
|
|
"CXX=#{ENV.cxx}", "CXXFLAGS=#{ENV.cflags}"
|
2010-02-03 22:23:41 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|