blob: 40f6cf6ab4f47860a93cc3cc9d934f07925add90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require 'formula'
class Lrzsz < Formula
homepage 'http://www.ohse.de/uwe/software/lrzsz.html'
url 'http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz'
sha1 '451e6a1813dfb71a412c973acd1b88b9ee3f28c4'
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", "src/lsz"
system "make install"
ln_s bin/"lrz", bin/"rz"
ln_s bin/"lsz", bin/"sz"
end
end
|