Commit 94a55350 authored by Casey Strouse's avatar Casey Strouse

Add lz4 (1.7.5) package

LZ4 is lossless compression algorithm, providing compression speed at
400 MB/s per core, scalable with multi-cores CPU. It features an
extremely fast decoder, with speed in multiple GB/s per core, typically
reaching RAM speed limits on multi-core systems.

Tested as working properly on Samsung XE50013-K01US.
parent c44dd0c6
require 'package'
class Lz4 < Package
version '1.7.5'
source_url 'https://github.com/lz4/lz4/archive/v1.7.5.tar.gz'
source_sha1 'a710a7d45beb0951806d2b98f0c1739107e97c14'
def self.build
if `uname -m`.strip == "x86_64"
system "make", "PREFIX=/usr/local", "libdir=/usr/local/lib64"
else
system "make", "PREFIX=/usr/local", "libdir=/usr/local/lib"
end
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment