deja-gnu 1.5.2

Closes Homebrew/homebrew#36526.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Baptiste Fontaine 2015-02-04 13:19:59 +01:00 committed by Mike McQuaid
parent 7ffb869b54
commit 71483e7416

View file

@ -1,20 +1,23 @@
require 'formula'
class DejaGnu < Formula
homepage 'http://www.gnu.org/software/dejagnu/'
url 'http://ftpmirror.gnu.org/dejagnu/dejagnu-1.5.1.tar.gz'
mirror 'http://ftp.gnu.org/gnu/dejagnu/dejagnu-1.5.1.tar.gz'
sha1 'eb16fb455690592a97f22acd17e8fc2f1b5c54c2'
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'
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",
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"
# 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