2010-10-25 11:31:34 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Lrzsz < Formula
|
2010-10-25 11:31:34 +00:00
|
|
|
homepage 'http://www.ohse.de/uwe/software/lrzsz.html'
|
2013-01-29 05:09:42 +00:00
|
|
|
url 'http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '451e6a1813dfb71a412c973acd1b88b9ee3f28c4'
|
2010-10-25 11:31:34 +00:00
|
|
|
|
|
|
|
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
|
2013-01-29 05:09:42 +00:00
|
|
|
bin.install "src/lrz", "src/lsz"
|
2010-10-25 11:31:34 +00:00
|
|
|
|
|
|
|
system "make install"
|
2011-07-11 11:02:44 +00:00
|
|
|
|
2013-01-29 05:09:42 +00:00
|
|
|
ln_s bin/"lrz", bin/"rz"
|
|
|
|
ln_s bin/"lsz", bin/"sz"
|
2010-10-25 11:31:34 +00:00
|
|
|
end
|
|
|
|
end
|