build 387 B

123456789101112131415
  1. #!/bin/bash
  2. [% c("var/set_default_env") -%]
  3. distdir=/var/tmp/dist/[% project %]
  4. mkdir -p $distdir
  5. tar xf [% c('input_files_by_name/python') %]
  6. cd Python-[% c('version') %]
  7. ./configure --prefix=$distdir
  8. make -j[% c("buildconf/num_procs") %]
  9. make prefix=$distdir install
  10. cd /var/tmp/dist
  11. [% c('tar', {
  12. tar_src => 'python',
  13. tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
  14. }) %]