Commit 8d8f26f4 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #971 from jam7/update/lz4

Change lz4 to correct library path and to not install static library
parents 0996deb1 2186210b
......@@ -3,19 +3,15 @@ require 'package'
class Lz4 < Package
description 'LZ4 is lossless compression algorithm, providing compression speed at 400 MB/s per core (0.16 Bytes/cycle).'
homepage 'http://lz4.github.io/lz4/'
version '1.7.5'
version '1.7.5-1'
source_url 'https://github.com/lz4/lz4/archive/v1.7.5.tar.gz'
source_sha256 '0190cacd63022ccb86f44fa5041dc6c3804407ad61550ca21c382827319e7e7e'
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
system "make", "BUILD_STATIC=no"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "BUILD_STATIC=no", "DESTDIR=#{CREW_DEST_DIR}", "LIBDIR=#{CREW_LIB_PREFIX}", "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