blob: ec71257d3682318e8c4e7a6488185d3cb7d887ed (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 | class DejaGnu < Formula
  homepage "https://www.gnu.org/software/dejagnu/"
  url "http://ftpmirror.gnu.org/dejagnu/dejagnu-1.5.2.tar.gz"
  mirror "https://ftp.gnu.org/gnu/dejagnu/dejagnu-1.5.2.tar.gz"
  sha1 "20a6c64e8165c1e6dbbe3638c4f737859942c94d"
  head "http://git.sv.gnu.org/r/dejagnu.git"
  def install
    ENV.j1 # Or fails on Mac Pro
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    # DejaGnu has no compiled code, so go directly to "make check"
    system "make", "check"
    system "make", "install"
  end
  test do
    system "#{bin}/runtest"
  end
end
 |