2010-04-02 21:22:54 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class AndroidNdk <Formula
|
2011-01-13 11:33:02 +00:00
|
|
|
url 'http://dl.google.com/android/ndk/android-ndk-r5-darwin-x86.tar.bz2'
|
2010-05-22 19:37:56 +00:00
|
|
|
homepage 'http://developer.android.com/sdk/ndk/index.html#overview'
|
2011-01-13 11:33:02 +00:00
|
|
|
md5 '9dee8e4cb529a5619e9b8d1707478c32'
|
|
|
|
version 'r5'
|
2010-04-02 21:22:54 +00:00
|
|
|
|
|
|
|
depends_on 'android-sdk'
|
|
|
|
|
|
|
|
def install
|
|
|
|
prefix.install Dir['*']
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS
|
|
|
|
We agreed to the Android NDK License Agreement for you by downloading the NDK.
|
|
|
|
If this is unacceptable you should uninstall.
|
|
|
|
|
|
|
|
License information at:
|
|
|
|
http://developer.android.com/sdk/terms.html
|
|
|
|
|
|
|
|
Software and System requirements at:
|
2010-05-22 19:37:56 +00:00
|
|
|
http://developer.android.com/sdk/ndk/index.html#requirements
|
2010-04-02 21:22:54 +00:00
|
|
|
|
|
|
|
For more documentation on Android NDK, please check:
|
|
|
|
#{prefix}/docs
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|