mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
21 lines
472 B
Ruby
21 lines
472 B
Ruby
require 'package'
|
|
|
|
class Xzutils < Package
|
|
version '5.2.3-1'
|
|
source_url 'http://tukaani.org/xz/xz-5.2.3.tar.gz'
|
|
source_sha1 '529638eec3597e429cc54c74551ac0a89169e841'
|
|
|
|
def self.build
|
|
system "./configure", "--prefix=/usr/local", "--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
|