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/'
|
2013-03-13 22:51:03 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/dejagnu/dejagnu-1.5.1.tar.gz'
|
|
|
|
mirror 'http://ftp.gnu.org/gnu/dejagnu/dejagnu-1.5.1.tar.gz'
|
|
|
|
sha1 'eb16fb455690592a97f22acd17e8fc2f1b5c54c2'
|
|
|
|
|
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
|