1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 19:10:11 +01:00
fdroidserver/buildserver/cookbooks/android-ndk/recipes/default.rb

18 lines
356 B
Ruby
Raw Normal View History

ndk_loc = node[:settings][:ndk_loc]
script "setup-android-ndk" do
interpreter "bash"
user node[:settings][:user]
cwd "/tmp"
code "
2013-04-02 23:32:49 +02:00
wget http://dl.google.com/android/ndk/android-ndk-r8e-linux-x86.tar.bz2
tar jxvf android-ndk-r8e-linux-x86.tar.bz2
mv android-ndk-r8e #{ndk_loc}
"
not_if do
File.exists?("#{ndk_loc}")
end
end