homebrew-core/Formula/lrzsz.rb
Kevin Lyda 212cace212 lrzsz: add links to sz and rz
Some programs expect to find these binaries under alternate names.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-11 10:30:27 -07:00

22 lines
558 B
Ruby

require 'formula'
class Lrzsz < Formula
url 'http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz'
homepage 'http://www.ohse.de/uwe/software/lrzsz.html'
md5 'b5ce6a74abc9b9eb2af94dffdfd372a4'
def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make"
# there's a bug in lrzsz when using custom --prefix
# must install the binaries manually first
bin.install "src/lrz"
bin.install "src/lsz"
system "make install"
ln_s bin + "lrz", bin + "rz"
ln_s bin + "lsz", bin + "sz"
end
end