2013-08-28 14:09:45 +00:00
|
|
|
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'
|
|
|
|
|
2013-10-02 21:29:26 +00:00
|
|
|
head do
|
|
|
|
url 'svn://irrtoolset.isc.org/trunk'
|
|
|
|
|
2013-08-28 14:09:45 +00:00
|
|
|
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
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2013-08-28 14:09:45 +00:00
|
|
|
system "#{bin}/peval", "ANY"
|
|
|
|
end
|
|
|
|
end
|