mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-13 18:50:29 +03:00
Work in progress on integrating build server
This commit is contained in:
parent
d6e390afd6
commit
498e7d3c5f
14 changed files with 334 additions and 116 deletions
17
buildserver/cookbooks/android-ndk/recipes/default.rb
Normal file
17
buildserver/cookbooks/android-ndk/recipes/default.rb
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
ndk_loc = node[:settings][:ndk_loc]
|
||||
|
||||
script "setup-android-ndk" do
|
||||
interpreter "bash"
|
||||
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}
|
||||
"
|
||||
not_if do
|
||||
File.exists?("#{ndk_loc}")
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue