modified: nfig1.py
[GalaxyCodeBases.git] / etc / iOS / libirecovery.rb
blobfeb39e44eb452be6fa796d6fc00f88a37c0e48fc
1 class Libirecovery < Formula
2   desc "library for communication to iBoot/iBSS on iOS devices via USB."
3   homepage "https://github.com/libimobiledevice/libirecovery"
4   url "https://github.com/libimobiledevice/libirecovery/archive/master.tar.gz"
5   version "0.2.0"
6   #sha256 "f5b685aced24ad3ea4f06a378e0f4582a69a4d39750f6e529ba2fff212785ccc"
8   depends_on "automake" => :build
9   depends_on "libtool" => :build
10   depends_on "autoconf" => :build
12   def install
13     system "./autogen.sh", "--disable-debug",
14                           "--disable-dependency-tracking",
15                           "--disable-silent-rules",
16                           "--prefix=#{prefix}"
17     system "make"
18     system "make", "install"
19   end
21   test do
22     system "ls", "#{lib}/libirecovery.dylib"
23   end
24 end