homebrew-core/Formula/irrtoolset.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

31 lines
621 B
Ruby

require 'formula'
class Irrtoolset < Formula
homepage 'http://irrtoolset.isc.org/'
url 'http://ftp.isc.org/isc/IRRToolSet/IRRToolSet-5.0.1/irrtoolset-5.0.1.tar.gz'
sha1 '19510275f5f64608e4a683c744c14f8e900ea19e'
head do
url 'svn://irrtoolset.isc.org/trunk'
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
depends_on 'pkg-config' => :build
def install
if build.head?
system "glibtoolize"
system "autoreconf -i"
end
system "./configure", "--prefix=#{prefix}"
system "make install"
end
test do
system "#{bin}/peval", "ANY"
end
end