Commit 1a78d9aa authored by Ed Reel's avatar Ed Reel

Add cpio package

parent 54609ffc
require 'package'
class Cpio < Package
description 'GNU cpio copies files into or out of a cpio or tar archive. The archive can be another file on the disk, a magnetic tape, or a pipe.'
homepage 'https://www.gnu.org/software/cpio/'
version '2.12'
source_url 'http://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.gz'
source_sha1 'b366685662ab26661c6204b4631af6232e48be3f'
depends_on 'binutils'
depends_on 'gawk'
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "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