New formula: rzip
rzip is a compression program, similar in functionality to gzip or bzip2, but able to take advantage long distance redundencies in files, which can sometimes allow rzip to produce much better compression ratios than other programs. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
d6351d4b88
commit
cddca9ceb1
1 changed files with 22 additions and 0 deletions
22
Formula/rzip.rb
Normal file
22
Formula/rzip.rb
Normal file
|
@ -0,0 +1,22 @@
|
|||
require 'formula'
|
||||
|
||||
class Rzip <Formula
|
||||
url 'http://rzip.samba.org/ftp/rzip/rzip-2.1.tar.gz'
|
||||
homepage 'http://rzip.samba.org/'
|
||||
md5 '0a3ba55085661647c12f2b014c51c406'
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}", "--mandir=#{man}"
|
||||
|
||||
# --mandir doesn't seem to do anything, so we need to modify the
|
||||
# Makefile ourselves
|
||||
inreplace "Makefile", /^INSTALL_MAN=.+$/, "INSTALL_MAN=#{man}"
|
||||
|
||||
system "make install"
|
||||
|
||||
# Make symlinks for `runzip`
|
||||
File.symlink bin+'rzip', bin+'runzip'
|
||||
File.symlink man1+'rzip.1', man1+'runzip.1'
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue