From 24489267e1972064ed65b1bb2df5c7a6c95e5a1e Mon Sep 17 00:00:00 2001 From: Mário Freitas Date: Sat, 14 Mar 2015 17:36:19 +0900 Subject: mobiledevice 2.0.0 (new formula) mobiledevice is a command line utility for interacting with Apple's Private Mobile Device Framework. It can be used for automating several tasks like installing and uninstalling apps on your iPhone/iPad without having to manually do it via Xcode or iTunes. And you don't need a jailbroken device! Closes #37711. Signed-off-by: Mike McQuaid --- Library/Formula/mobiledevice.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Library/Formula/mobiledevice.rb (limited to 'Library/Formula') diff --git a/Library/Formula/mobiledevice.rb b/Library/Formula/mobiledevice.rb new file mode 100644 index 000000000..69bd89e63 --- /dev/null +++ b/Library/Formula/mobiledevice.rb @@ -0,0 +1,15 @@ +class Mobiledevice < Formula + homepage "https://github.com/imkira/mobiledevice" + url "https://github.com/imkira/mobiledevice/archive/v2.0.0.tar.gz" + sha256 "07b167f6103175c5eba726fd590266bf6461b18244d34ef6d05a51fc4871e424" + + def install + system "make", "install", "CC=#{ENV.cc}", "PREFIX=#{prefix}" + end + + test do + cur_version = shell_output("#{bin}/mobiledevice version").strip + assert_match "#{version}", cur_version + system("#{bin}/mobiledevice list_devices") + end +end -- cgit v1.2.3