From bae57839c48eeb0832c45e58f2cdd9d406bf0f45 Mon Sep 17 00:00:00 2001 From: Adam Malcontenti-Wilson Date: Fri, 21 Dec 2012 07:14:41 +1100 Subject: itstool 1.2.0 Closes #16684. Signed-off-by: Adam Vandenberg --- Library/Formula/itstool.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Library/Formula/itstool.rb (limited to 'Library') diff --git a/Library/Formula/itstool.rb b/Library/Formula/itstool.rb new file mode 100644 index 000000000..7070a449f --- /dev/null +++ b/Library/Formula/itstool.rb @@ -0,0 +1,18 @@ +require 'formula' + +class Itstool < Formula + homepage 'http://itstool.org/' + url 'http://files.itstool.org/itstool/itstool-1.2.0.tar.bz2' + sha1 'dc6b766c2acec32d3c5d016b0a33e9268d274f63' + + head 'git://gitorious.org/itstool/itstool.git' + + depends_on :autoconf if build.head? + depends_on :automake if build.head? + + def install + system "./autogen.sh" if build.head? + system "./configure", "--prefix=#{prefix}" + system "make install" + end +end -- cgit v1.2.3