config 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # vim: filetype=yaml sw=2
  2. version: 1.0.10
  3. git_url: https://github.com/hlandau/svcutils.git
  4. git_hash: c25dac49e50cbbcbef8c81b089f56156f4067729
  5. filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
  6. container:
  7. use_container: 1
  8. build: '[% c("projects/go/var/build_go_lib") %]'
  9. var:
  10. go_lib: gopkg.in/hlandau/svcutils.v1
  11. go_lib_install:
  12. - gopkg.in/hlandau/svcutils.v1
  13. - gopkg.in/hlandau/svcutils.v1/caps
  14. - gopkg.in/hlandau/svcutils.v1/chroot
  15. - gopkg.in/hlandau/svcutils.v1/dupfd
  16. - gopkg.in/hlandau/svcutils.v1/exepath
  17. - gopkg.in/hlandau/svcutils.v1/passwd
  18. - gopkg.in/hlandau/svcutils.v1/pidfile
  19. - gopkg.in/hlandau/svcutils.v1/setuid
  20. - gopkg.in/hlandau/svcutils.v1/systemd
  21. build_go_lib_pre: |
  22. [% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
  23. tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/binutils') %]
  24. export PATH="/var/tmp/dist/binutils/bin:$PATH"
  25. export CGO_ENABLED=1
  26. targets:
  27. linux-i686:
  28. var:
  29. arch_deps:
  30. - libcap-dev:i386
  31. linux-x86_64:
  32. var:
  33. arch_deps:
  34. - libcap-dev
  35. input_files:
  36. - project: container-image
  37. - name: go
  38. project: go
  39. - name: '[% c("var/compiler") %]'
  40. project: '[% c("var/compiler") %]'
  41. - name: binutils
  42. project: binutils