itstool: use spec deps

This commit is contained in:
Jack Nagel 2013-09-20 10:15:57 -05:00
parent 59474a1fe5
commit b57e744093

View file

@ -5,10 +5,12 @@ class Itstool < Formula
url 'http://files.itstool.org/itstool/itstool-1.2.0.tar.bz2'
sha1 'dc6b766c2acec32d3c5d016b0a33e9268d274f63'
head 'git://gitorious.org/itstool/itstool.git'
head do
url 'git://gitorious.org/itstool/itstool.git'
depends_on :autoconf if build.head?
depends_on :automake if build.head?
depends_on :autoconf
depends_on :automake
end
def install
system "./autogen.sh" if build.head?