From bc9e07dc24324fd8fd91c3b5217dc0dc60f78165 Mon Sep 17 00:00:00 2001 From: Job Snijders Date: Wed, 28 Aug 2013 16:09:45 +0200 Subject: IRRToolset 5.0.1 Closes #22173. Signed-off-by: Adam Vandenberg --- Library/Formula/irrtoolset.rb | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Library/Formula/irrtoolset.rb (limited to 'Library/Formula') diff --git a/Library/Formula/irrtoolset.rb b/Library/Formula/irrtoolset.rb new file mode 100644 index 000000000..876636838 --- /dev/null +++ b/Library/Formula/irrtoolset.rb @@ -0,0 +1,30 @@ +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 'svn://irrtoolset.isc.org/trunk' + + if build.head? + 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 + + def test + system "#{bin}/peval", "ANY" + end +end -- cgit v1.2.3