18 lines
508 B
Ruby
18 lines
508 B
Ruby
|
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
|