homebrew-core/Formula/deja-gnu.rb

24 lines
719 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
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"
2013-03-13 22:51:03 +00:00
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",
2013-01-27 22:08:30 +00:00
"--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