chiark / gitweb /
Install ia32-libs on 64 bit vm only (I think)
[fdroidserver.git] / buildserver / cookbooks / fdroidbuild-general / recipes / default.rb
1
2 script "temp-proposed" do
3   interpreter "bash"
4   user node[:settings][:user]
5   cwd "/tmp"
6   code "
7     sudo su -c 'echo deb http://archive.ubuntu.com/ubuntu/ raring-proposed restricted main multiverse universe >/etc/apt/sources.list.d/tmp.list'
8     sudo apt-get update
9   "
10   not_if do
11     File.exists?("/etc/apt/sources.list.d/tmp.list")
12   end
13 end
14
15 %w{ant ant-contrib autoconf autopoint bison cmake expect libtool libssl1.0.0 libssl-dev maven javacc python git-core mercurial subversion bzr git-svn make perlmagick pkg-config zip ruby rubygems librmagick-ruby}.each do |pkg|
16   package pkg do
17     action :install
18   end
19 end
20
21 if node['kernel']['machine'] == "x86_64"
22   %w{ia32-libs}.each do |pkg|
23     package pkg do
24       action :install
25     end
26   end
27 end
28