config 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # vim: filetype=yaml sw=2
  2. version: 1.1.1g
  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. windows:
  19. var:
  20. flag_mwindows: ''
  21. 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") %]"'
  22. openssldir: 'Program Files[% IF c("var/windows-i686") %] (x86)[% END %]/OpenSSL'
  23. osx-x86_64:
  24. var:
  25. configure_opts: --cross-compile-prefix=x86_64-apple-darwin11- darwin64-x86_64-cc enable-ec_nistp_64_gcc_128
  26. android:
  27. var:
  28. configure_opts: CC=clang android-[% c("var/toolchain_arch") %] -no-shared
  29. input_files:
  30. - project: container-image
  31. - name: '[% c("var/compiler") %]'
  32. project: '[% c("var/compiler") %]'
  33. - URL: 'https://www.openssl.org/source/openssl-[% c("version") %].tar.gz'
  34. sha256sum: ddb04774f1e32f0c49751e21b67216ac87852ceb056b75209af2443400636d46
  35. - filename: use-SOURCE_DATE_EPOCH.patch
  36. enable: '[% c("var/windows") %]'