config 1.3 KB

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