Files
chromebrew/packages/xzutils.rb
2020-03-25 20:39:02 +01:00

29 lines
731 B
Ruby

require 'package'
class Xzutils < Package
description 'XZ Utils is free general-purpose data compression software with a high compression ratio.'
homepage 'http://tukaani.org/xz/'
version '5.2.5'
source_url 'https://tukaani.org/xz/xz-5.2.5.tar.gz'
source_sha256 'f6f4910fd033078738bd82bfba4f49219d03b17eb0794eb91efbae419f4aba10'
binary_url ({
})
binary_sha256 ({
})
def self.build
system "./configure", "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}",
"--disable-docs", "--enable-shared", "--disable-static", "--with-pic"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.check
system "make", "check"
end
end