2011-03-10 05:11:03 +00:00
|
|
|
class DejaGnu < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Framework for testing other programs"
|
2015-02-04 12:19:59 +00:00
|
|
|
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"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "90b5f3ccd7a4a2def5099a57ae99c7b8f587eb170c3c8df874c5934e1e5d33a2"
|
2013-03-13 22:51:03 +00:00
|
|
|
|
2015-02-04 12:19:59 +00:00
|
|
|
head "http://git.sv.gnu.org/r/dejagnu.git"
|
2010-02-02 22:15:57 +00:00
|
|
|
|
|
|
|
def install
|
2010-07-12 02:14:04 +00:00
|
|
|
ENV.j1 # Or fails on Mac Pro
|
2015-02-04 12:19:59 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2013-01-27 22:08:30 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2015-02-04 12:19:59 +00:00
|
|
|
# DejaGnu has no compiled code, so go directly to "make check"
|
|
|
|
system "make", "check"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/runtest"
|
2010-02-02 22:15:57 +00:00
|
|
|
end
|
|
|
|
end
|