blob: 61749670ac21e5c1b16d10b5fe50a34cf729fadd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
require 'formula'
class Gawk < Formula
homepage 'http://www.gnu.org/software/gawk/'
url 'http://ftpmirror.gnu.org/gawk/gawk-4.0.1.tar.xz'
mirror 'http://ftp.gnu.org/gnu/gawk/gawk-4.0.1.tar.xz'
md5 'a601b032c39cd982f34272664f8afa49'
depends_on 'xz' => :build
fails_with :llvm do
build 2326
cause "Undefined symbols when linking"
end
def install
system "./configure", "--prefix=#{prefix}"
system "make"
ENV.j1 # Run tests serialized
system "make check"
system "make install"
end
end
|