2014-01-23 00:48:25 +00:00
|
|
|
class AndroidPlatformTools < Formula
|
2015-03-10 14:55:05 +00:00
|
|
|
homepage "https://developer.android.com/sdk"
|
2014-01-23 00:48:25 +00:00
|
|
|
# the url is from:
|
2015-05-07 04:07:02 +00:00
|
|
|
# https://dl.google.com/android/repository/repository-10.xml
|
2015-03-12 11:45:32 +00:00
|
|
|
url "https://dl.google.com/android/repository/platform-tools_r22-macosx.zip"
|
|
|
|
version "22.0.0"
|
|
|
|
sha256 "c06721ff66a1a3f70e489325f06474e28cd0efd5352f097ee2ff58167b4f6564"
|
2014-01-23 00:48:25 +00:00
|
|
|
|
2015-03-10 14:55:05 +00:00
|
|
|
conflicts_with "android-sdk",
|
2014-01-23 00:48:25 +00:00
|
|
|
:because => "the Android Platform-tools are part of the Android SDK"
|
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install "adb", "fastboot"
|
|
|
|
end
|
|
|
|
end
|