config 1.22 KB
Newer Older
boklm's avatar
boklm committed
1
# vim: filetype=yaml sw=2
Georg Koppen's avatar
Georg Koppen committed
2
version: 1.1.1d
boklm's avatar
boklm committed
3
filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
boklm's avatar
boklm committed
4
5

var:
6
  openssldir: 'usr/local'
boklm's avatar
boklm committed
7
8
  container:
    use_container: 1
boklm's avatar
boklm committed
9
10
11
12

targets:
  linux-x86_64:
    var:
13
      configure_opts: -shared enable-ec_nistp_64_gcc_128 linux-x86_64
boklm's avatar
boklm committed
14
15
  linux-i686:
    var:
16
      configure_opts: -shared linux-x86
17
  windows:
boklm's avatar
boklm committed
18
    var:
19
20
      flag_mwindows: ''
      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") %]"'
21
      openssldir: 'Program Files[% IF c("var/windows-i686") %] (x86)[% END %]/OpenSSL'
boklm's avatar
boklm committed
22
23
  osx-x86_64:
    var:
24
      configure_opts: --cross-compile-prefix=x86_64-apple-darwin11- darwin64-x86_64-cc enable-ec_nistp_64_gcc_128
boklm's avatar
boklm committed
25
26

input_files:
boklm's avatar
boklm committed
27
  - project: container-image
boklm's avatar
boklm committed
28
29
30
  - name: '[% c("var/compiler") %]'
    project: '[% c("var/compiler") %]'
  - URL: 'https://www.openssl.org/source/openssl-[% c("version") %].tar.gz'
Georg Koppen's avatar
Georg Koppen committed
31
    sha256sum: 1e3a91bc1f9dfce01af26026f856e064eab4c8ee0a8f457b5ae30b40b8b711f2
32
33
  - filename: escape-openssldir.patch
    enable: '[% c("var/windows") %]'
34
35
  - filename: use-SOURCE_DATE_EPOCH.patch
    enable: '[% c("var/windows") %]'