homebrew-core/Formula/deja-gnu.rb
Jack Nagel fa3d89a7c0 Use automatic mirror selection for GNU downloads
It seems that the main GNU download site has issues in some places
outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick
a nearby mirror.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-12 15:08:20 -05:00

17 lines
555 B
Ruby

require 'formula'
class DejaGnu < Formula
url 'http://ftpmirror.gnu.org/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