blob: 5fcf9189077983118fe705b929acbd3d3d38af10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
require "formula"
class Ideviceinstaller < Formula
homepage "http://www.libimobiledevice.org/"
url "http://www.libimobiledevice.org/downloads/ideviceinstaller-1.1.0.tar.bz2"
sha1 "5e2c47b9e6ac6d610b7bfe5186c8e84536549ce4"
revision 1
bottle do
cellar :any
sha1 "893e9e6cb97a2073bb0b42e9ae09cd5d085f6f0f" => :yosemite
sha1 "e484976abf87bbf958c003b5f651db9329be862b" => :mavericks
sha1 "7a8a684bb21b714c447fa484fa6cd4a8f6027313" => :mountain_lion
end
head do
url "http://git.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?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/ideviceinstaller --help |grep -q ^Usage"
end
end
|