require 'formula' class Libimobiledevice :build depends_on 'libtasn1' depends_on 'usbmuxd' depends_on 'libplist' depends_on 'gnutls' depends_on 'glib' def install ENV.prepend "CFLAGS", "-I#{HOMEBREW_PREFIX}/include" system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--without-swig" system "make install" end end