New ndk for build server

This commit is contained in:
Ciaran Gultnieks 2012-08-31 16:46:57 +01:00
parent 43e38f2320
commit 8a3ed0ed17

View file

@ -6,9 +6,9 @@ script "setup-android-ndk" do
user node[:settings][:user]
cwd "/tmp"
code "
wget http://dl.google.com/android/ndk/android-ndk-r7-linux-x86.tar.bz2
tar jxvf android-ndk-r7-linux-x86.tar.bz2
mv android-ndk-r7 #{ndk_loc}
wget http://dl.google.com/android/ndk/android-ndk-r8b-linux-x86.tar.bz2
tar jxvf android-ndk-r8b-linux-x86.tar.bz2
mv android-ndk-r8 #{ndk_loc}
"
not_if do
File.exists?("#{ndk_loc}")