2010-02-02 22:15:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class DejaGnu < Formula
|
2013-01-27 22:08:30 +00:00
|
|
|
homepage 'http://www.gnu.org/software/dejagnu/'
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/dejagnu/dejagnu-1.5.tar.gz'
|
2011-11-30 18:56:07 +00:00
|
|
|
mirror 'http://ftp.gnu.org/gnu/dejagnu/dejagnu-1.5.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'bd84c71e0587af0278a9b6a404d6da1b92df66cd'
|
2011-09-07 17:53:01 +00:00
|
|
|
head 'git://git.sv.gnu.org/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
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2013-01-27 22:08:30 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2011-09-07 17:53:01 +00:00
|
|
|
# DejaGnu has no compiled code, so go directly to 'make check'
|
|
|
|
system "make check"
|
2010-02-02 22:15:57 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|