2014-05-24 01:31:02 +00:00
|
|
|
require "formula"
|
2010-06-02 21:44:16 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libimobiledevice < Formula
|
2014-05-24 01:31:02 +00:00
|
|
|
homepage "http://www.libimobiledevice.org/"
|
|
|
|
url "http://www.libimobiledevice.org/downloads/libimobiledevice-1.1.6.tar.bz2"
|
|
|
|
sha1 "3016bf1241bc5a77a621c49d82d71bb8f32905e4"
|
2014-08-22 14:08:15 +00:00
|
|
|
revision 1
|
2010-06-02 21:44:16 +00:00
|
|
|
|
2014-05-24 01:58:27 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-10-19 22:28:12 +00:00
|
|
|
revision 2
|
|
|
|
sha1 "3798eed87ba1f8eac58fa4ceb5fc53b0c84c3612" => :yosemite
|
|
|
|
sha1 "89ef56d797d9ed5ff2c4cd5477814473c19cf3ab" => :mavericks
|
|
|
|
sha1 "4d7720e3cffd8a5d555f6c013475abee9e06ceb6" => :mountain_lion
|
2014-05-24 01:58:27 +00:00
|
|
|
end
|
|
|
|
|
2014-07-08 18:06:40 +00:00
|
|
|
head do
|
2014-09-05 00:49:29 +00:00
|
|
|
url "http://cgit.sukimashita.com/libimobiledevice.git"
|
2014-07-08 18:06:40 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
|
|
|
depends_on "libxml2"
|
|
|
|
end
|
|
|
|
|
2014-05-24 01:31:02 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "libtasn1"
|
|
|
|
depends_on "libplist"
|
|
|
|
depends_on "usbmuxd"
|
|
|
|
depends_on "openssl"
|
2010-06-02 21:44:16 +00:00
|
|
|
|
|
|
|
def install
|
2014-07-08 18:06:40 +00:00
|
|
|
system "./autogen.sh" if build.head?
|
2011-05-12 12:53:43 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2014-05-24 01:31:02 +00:00
|
|
|
"--disable-silent-rules",
|
2011-05-12 12:53:43 +00:00
|
|
|
"--prefix=#{prefix}",
|
2012-05-15 03:58:30 +00:00
|
|
|
# As long as libplist builds without Cython
|
2012-05-04 18:13:02 +00:00
|
|
|
# bindings, libimobiledevice must as well.
|
|
|
|
"--without-cython"
|
2010-06-02 21:44:16 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|