aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/android-platform-tools.rb
diff options
context:
space:
mode:
authorCheng LI2014-01-22 16:48:25 -0800
committerMike McQuaid2014-01-22 16:49:23 -0800
commit84be1ae3efaf77ccafcf7baefe26ee60a5092943 (patch)
treee75798f2a9d34b944ca8b276a9d3c5059a3a9959 /Library/Formula/android-platform-tools.rb
parent816637f32d9c8a06f37b659acd5e0d1efdb213d0 (diff)
downloadhomebrew-84be1ae3efaf77ccafcf7baefe26ee60a5092943.tar.bz2
android-platform-tools 19.0.1 (new formula)
Install the adb and fastboot binaries without the Android SDK. Closes #26080. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/android-platform-tools.rb')
-rw-r--r--Library/Formula/android-platform-tools.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/android-platform-tools.rb b/Library/Formula/android-platform-tools.rb
new file mode 100644
index 000000000..f6bd2e369
--- /dev/null
+++ b/Library/Formula/android-platform-tools.rb
@@ -0,0 +1,17 @@
+require "formula"
+
+class AndroidPlatformTools < Formula
+ homepage "http://developer.android.com/sdk"
+ # the url is from:
+ # http://dl-ssl.google.com/android/repository/repository-8.xml
+ url "http://dl-ssl.google.com/android/repository/platform-tools_r19.0.1-macosx.zip"
+ version '19.0.1'
+ sha1 "340a497e4199d076ea93d4ee0e7a50858344d176"
+
+ conflicts_with 'android-sdk',
+ :because => "the Android Platform-tools are part of the Android SDK"
+
+ def install
+ bin.install "adb", "fastboot"
+ end
+end