mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
24 lines
651 B
Ruby
24 lines
651 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.3-2'
|
|
source_url 'http://tukaani.org/xz/xz-5.2.3.tar.gz'
|
|
source_sha1 '529638eec3597e429cc54c74551ac0a89169e841'
|
|
|
|
def self.build
|
|
system "./configure", "--prefix=/usr/local", "--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
|