homebrew-core/Formula/lzo.rb
Nibbles 2bits 0a01539263 lzo 2.06 and remove asm disable
This commit updates lzo to version 2.06 and removes a configure
flag that was forcing --disable-asm.  The asm passes make check.
The asm will automatically detect correctly if you are building
for only 32bit (by forcing -arch i386).  That option was not
coded in, forcing 32bit, because 64bit is generally faster.
The make check was left in because this is a compression lib,
and we don't want data corruption.  This compiles with llvm,
gcc-4.2.1, and clang-2.0 on 32bit and 64bit OSX 10.6.8, and
it passes all checks, which take less than a half-second.
Closes Homebrew/homebrew#8128.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-15 09:14:32 -05:00

16 lines
486 B
Ruby

require 'formula'
class Lzo < Formula
homepage 'http://www.oberhumer.com/opensource/lzo/'
url 'http://www.oberhumer.com/opensource/lzo/download/lzo-2.06.tar.gz'
sha256 'ff79e6f836d62d3f86ef6ce893ed65d07e638ef4d3cb952963471b4234d43e73'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-shared"
system "make"
system "make check"
system "make install"
end
end