| class IdeviceinstallerFlutter < Formula |
| desc "Cross-platform library for communicating with iOS devices" |
| homepage "https://www.libimobiledevice.org/" |
| |
| head do |
| url "https://flutter-mirrors.googlesource.com/ideviceinstaller.git", :tag => "1.1.0" |
| depends_on "autoconf" => :build |
| depends_on "automake" => :build |
| depends_on "libtool" => :build |
| end |
| |
| depends_on "pkg-config" => :build |
| depends_on "libimobiledevice-flutter" |
| depends_on "openssl-flutter" |
| depends_on "libplist-flutter" |
| depends_on "libzip-flutter" |
| |
| def install |
| system "./autogen.sh", "--disable-dependency-tracking", "--prefix=#{prefix}" |
| system "make", "install" |
| end |
| |
| test do |
| system "#{bin}/ideviceinstaller --help |grep -q ^Usage" |
| end |
| end |