From 30e309f870189549dd45aef2eb5b49f394a5d2fc Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 20 Sep 2013 10:15:56 -0500 Subject: ideviceinstaller: use spec deps --- Library/Formula/ideviceinstaller.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'Library') diff --git a/Library/Formula/ideviceinstaller.rb b/Library/Formula/ideviceinstaller.rb index 3b15c6a90..8df267fdc 100644 --- a/Library/Formula/ideviceinstaller.rb +++ b/Library/Formula/ideviceinstaller.rb @@ -5,18 +5,17 @@ class Ideviceinstaller < Formula url 'http://www.libimobiledevice.org/downloads/ideviceinstaller-1.0.1.tar.bz2' sha1 '7dd57f5d6d4466d8eca5d28fef3c22033b2af2da' - head 'http://cgit.sukimashita.com/ideviceinstaller.git' - - depends_on 'pkg-config' => :build - depends_on 'libimobiledevice' - depends_on 'libzip' - - if build.head? + head do + url 'http://cgit.sukimashita.com/ideviceinstaller.git' depends_on 'autoconf' => :build depends_on 'automake' => :build depends_on 'libtool' => :build end + depends_on 'pkg-config' => :build + depends_on 'libimobiledevice' + depends_on 'libzip' + def install system "./autogen.sh" if build.head? -- cgit v1.2.3