blob: d1ad1c98046cd4b0d98854b02fb1df6eda9f3949 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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"
end
end
|