{% set version = "1.0.2r" %}
{% set buildnumber = 2 %}

package:
  name: openssl
  version: {{version}}

source:
  fn: openssl-{{version}}.tar.gz
  url: http://www.openssl.org/source/openssl-{{version}}.tar.gz
  sha256: ae51d08bba8a83958e894946f15303ff894d75c2b8bbd44a852b64e3fe11d0d6
  patches:
    - intel_parallelism.patch
    - add_ldflags_apps_makefile.patch  # [linux]

build:
  detect_binary_files_with_prefix: True
  number: {{buildnumber}}
  features:
    - vc9                              # [win and py27]
    - vc14                             # [win and py3k]

requirements:
  build:
    - vc 9.0                           # [win and py27]
    - vc 14.0                          # [win and py3k]
    - perl 5.*                         # [win]
    - nasm                             # [win32]
  run:
    - vc 9.0                           # [win and py27]
    - vc 14.0                          # [win and py3k]

about:
  home: http://www.openssl.org/
  license: Apache-style (http://www.openssl.org/source/license.html)
  license_family: Apache
  license_file: LICENSE
  summary: OpenSSL is an open-source implementation of the SSL and TLS protocols
