chiark / gitweb /
Add missing xcsoar deps
[fdroidserver.git] / buildserver / cookbooks / fdroidbuild-general / recipes / default.rb
1
2 user = node[:settings][:user]
3
4 execute "apt-get-update" do
5   command "apt-get update"
6 end
7
8 %w{ant ant-contrib autoconf autopoint bison cmake expect libtool libsaxonb-java libssl1.0.0 libssl-dev maven openjdk-7-jdk javacc python python-magic git-core mercurial subversion bzr git-svn make perlmagick pkg-config zip ruby rubygems librmagick-ruby yasm imagemagick gettext realpath transfig texinfo curl
9 librsvg2-bin xsltproc}.each do |pkg|
10   package pkg do
11     action :install
12   end
13 end
14
15 if node['kernel']['machine'] == "x86_64"
16   %w{libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386}.each do |pkg|
17     package pkg do
18       action :install
19     end
20   end
21 end
22
23 execute "add-bsenv" do
24   user user
25   command "echo \". ./.bsenv \" >> /home/#{user}/.bashrc"
26   not_if "grep bsenv /home/#{user}/.bashrc"
27 end
28
29