config 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # vim: filetype=yaml sw=2
  2. version: 1.1.1n
  3. filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
  4. var:
  5. openssldir: 'usr/local'
  6. container:
  7. use_container: 1
  8. targets:
  9. linux-x86_64:
  10. var:
  11. configure_opts: -shared enable-ec_nistp_64_gcc_128 linux-x86_64
  12. linux-i686:
  13. var:
  14. configure_opts: -shared linux-x86
  15. linux-arm:
  16. var:
  17. configure_opts: -shared --cross-compile-prefix=[% c("var/crosstarget") %]- linux-armv4
  18. linux-ppc64le:
  19. var:
  20. configure_opts: -shared --cross-compile-prefix=[% c("var/crosstarget") %]- linux-ppc64le
  21. linux-ppc64:
  22. var:
  23. configure_opts: -shared --cross-compile-prefix=[% c("var/crosstarget") %]- linux-ppc64
  24. windows:
  25. var:
  26. flag_mwindows: ''
  27. configure_opts: '-shared --cross-compile-prefix=[% c("arch") %]-w64-mingw32- mingw[% IF c("var/windows-x86_64") %]64[% END %] "[% c("var/CFLAGS") %] [% c("var/LDFLAGS") %]"'
  28. openssldir: 'Program Files[% IF c("var/windows-i686") %] (x86)[% END %]/OpenSSL'
  29. osx-x86_64:
  30. var:
  31. configure_opts: --cross-compile-prefix=x86_64-apple-darwin- darwin64-x86_64-cc enable-ec_nistp_64_gcc_128
  32. android:
  33. var:
  34. configure_opts: 'CC=[% c("var/CC") %] android-[% c("var/toolchain_arch") %] -no-shared -D__ANDROID_API__=[% c("var/android_min_api") %]'
  35. input_files:
  36. - project: container-image
  37. - name: '[% c("var/compiler") %]'
  38. project: '[% c("var/compiler") %]'
  39. - URL: 'https://www.openssl.org/source/openssl-[% c("version") %].tar.gz'
  40. sha256sum: 40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a