2010-06-02 21:44:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libimobiledevice <Formula
|
2010-10-15 11:00:39 +00:00
|
|
|
url 'http://www.libimobiledevice.org/downloads/libimobiledevice-1.0.3.tar.bz2'
|
2010-06-02 21:44:16 +00:00
|
|
|
homepage 'http://www.libimobiledevice.org/'
|
2010-10-15 11:00:39 +00:00
|
|
|
md5 '68e68b5c2bea3ad99917add839d32cb2'
|
2010-06-02 21:44:16 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-06-02 21:44:16 +00:00
|
|
|
depends_on 'libtasn1'
|
|
|
|
depends_on 'usbmuxd'
|
|
|
|
depends_on 'libplist'
|
|
|
|
depends_on 'gnutls'
|
|
|
|
depends_on 'glib'
|
|
|
|
|
|
|
|
def install
|
2011-02-16 11:01:13 +00:00
|
|
|
ENV.prepend "CFLAGS", "-I#{HOMEBREW_PREFIX}/include"
|
2010-06-02 21:44:16 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--without-swig"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|