Commit b15a15c7 authored by Casey Strouse's avatar Casey Strouse

Add gzsize (0.1.1) package

GZSize is a lightweight tool to measure the decompressed size of a
GZip'd file.

Tested as working on Samsung XE50013-K01US (x86_64).
parent 4d757fbd
require 'package'
class Gzsize < Package
version '0.1.1'
source_url 'https://github.com/bfontaine/gzsize/archive/0.1.1.tar.gz'
source_sha1 '778820b0bf3fc2197955b60c6dc49f6fac00878b'
def self.build
system "make"
end
def self.install
system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/bin"
system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/man/man1"
FileUtils.cp "gzsize", "#{CREW_DEST_DIR}/usr/local/bin/gzsize"
FileUtils.cp "man/gzsize.1", "#{CREW_DEST_DIR}/usr/local/man/man1/gzsize.1"
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