2010-02-02 22:15:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class DejaGnu < Formula
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/dejagnu/dejagnu-1.5.tar.gz'
|
2010-02-02 22:15:57 +00:00
|
|
|
homepage 'http://www.gnu.org/software/dejagnu/'
|
2011-09-07 17:53:01 +00:00
|
|
|
md5 '3df1cbca885e751e22d3ebd1ac64dc3c'
|
|
|
|
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",
|
|
|
|
"--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
|