homebrew-core/Formula/lzo.rb
2015-06-05 14:47:57 +01:00

25 lines
787 B
Ruby

require "formula"
class Lzo < Formula
desc "Real-time data compression library"
homepage "http://www.oberhumer.com/opensource/lzo/"
url "http://www.oberhumer.com/opensource/lzo/download/lzo-2.08.tar.gz"
sha256 "ac1b3e4dee46febe9fd28737eb7f5692d3232ef1a01da10444394c3d47536614"
bottle do
cellar :any
revision 1
sha1 "fc54913e0f6dc60b981dd6526995ef0679efaabc" => :yosemite
sha1 "d732cb14e6182d58a04362f80a27142dccf88677" => :mavericks
sha1 "eba9019e3538d22f2c6a268c8736f34db468fa29" => :mountain_lion
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-shared"
system "make"
system "make", "check"
system "make", "install"
end
end