Commit db253466 authored by saltedcoffii's avatar saltedcoffii Committed by GitHub

[New Package] tar (#4901)

* [New Package] tar
parent ac235736
require 'package'
class Tar < Package
description 'GNU Tar provides the ability to create tar archives, as well as various other kinds of manipulation.'
homepage 'https://www.gnu.org/software/tar/'
version '1.33'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/tar/tar-1.33.tar.xz'
source_sha256 '66a8344b1dc83a411d311bd1547e0176e56cc311f28ee94a30f84dafb3d9067e'
def self.build
system "./configure #{CREW_OPTIONS} --with-lzma=xz"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.check
system "make", "check"
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