aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ideviceinstaller.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/ideviceinstaller.rb b/Library/Formula/ideviceinstaller.rb
index b931d434e..3b15c6a90 100644
--- a/Library/Formula/ideviceinstaller.rb
+++ b/Library/Formula/ideviceinstaller.rb
@@ -5,11 +5,21 @@ 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?
+ depends_on 'autoconf' => :build
+ depends_on 'automake' => :build
+ depends_on 'libtool' => :build
+ end
+
def install
+ system "./autogen.sh" if build.head?
+
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"