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/"
|
2016-08-02 07:14:30 +00:00
|
|
|
url "https://ftpmirror.gnu.org/dejagnu/dejagnu-1.6.tar.gz"
|
|
|
|
mirror "https://ftp.gnu.org/gnu/dejagnu/dejagnu-1.6.tar.gz"
|
|
|
|
sha256 "00b64a618e2b6b581b16eb9131ee80f721baa2669fa0cdee93c500d1a652d763"
|
2013-03-13 22:51:03 +00:00
|
|
|
|
2015-08-28 11:14:07 +00:00
|
|
|
bottle do
|
2016-02-23 22:18:35 +00:00
|
|
|
cellar :any_skip_relocation
|
2016-08-02 11:03:36 +00:00
|
|
|
sha256 "099657338971c6b84bf135f2935559a4753b2137edd807d777c999edaf0fb8d6" => :el_capitan
|
|
|
|
sha256 "0d589e4ec11e3d8de7f00abcbb4a62b50e578e15e6d8fafd42371ca9550b04c8" => :yosemite
|
|
|
|
sha256 "575e2565feb8d2d60c3163a1a8d38c4ba719fd5a523fc147a7812aed7f26fb88" => :mavericks
|
2015-08-28 11:14:07 +00:00
|
|
|
end
|
|
|
|
|
2015-08-22 16:31:31 +00:00
|
|
|
head do
|
|
|
|
url "http://git.savannah.gnu.org/r/dejagnu.git"
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "autoconf" => :build
|
|
|
|
end
|
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-08-22 16:31:31 +00:00
|
|
|
system "autoreconf", "-iv" if build.head?
|
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
|