homebrew-core/Formula/deja-gnu.rb
Jack Nagel 83fcafb5aa Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00

18 lines
616 B
Ruby

require 'formula'
class DejaGnu < Formula
url 'http://ftpmirror.gnu.org/dejagnu/dejagnu-1.5.tar.gz'
mirror 'http://ftp.gnu.org/gnu/dejagnu/dejagnu-1.5.tar.gz'
homepage 'http://www.gnu.org/software/dejagnu/'
md5 '3df1cbca885e751e22d3ebd1ac64dc3c'
head 'git://git.sv.gnu.org/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
end