diff options
| author | Mário Freitas | 2015-03-14 17:36:19 +0900 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-15 16:15:25 +0000 |
| commit | 24489267e1972064ed65b1bb2df5c7a6c95e5a1e (patch) | |
| tree | 42462d5e21cdc4320f5dfd0ea785a3ebfd440990 /Library | |
| parent | 49e297529594e66c79cde08bccb9bccbd8e221e7 (diff) | |
| download | homebrew-24489267e1972064ed65b1bb2df5c7a6c95e5a1e.tar.bz2 | |
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 <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mobiledevice.rb | 15 |
1 files changed, 15 insertions, 0 deletions
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 |
