1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- {% set version = "1.10.0" %}
- package:
- name: libssh2
- version: {{ version }}
- source:
- url: https://www.libssh2.org/download/libssh2-{{ version }}.tar.gz
- sha256: 2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51
- build:
- number: 2
- run_exports:
- - {{ pin_subpackage('libssh2') }}
- requirements:
- build:
- - {{ compiler('c') }}
- - make # [unix]
- # This breaks a dependency cycle:
- # curl->libssh2->cmake->curl
- - cmake-no-system
- host:
- - openssl {{ openssl }}
- run:
- - openssl # exact pin handled through openssl run_exports
- test:
- commands:
- - test -f $PREFIX/include/libssh2.h # [not win]
- - test -f $PREFIX/include/libssh2_publickey.h # [not win]
- - test -f $PREFIX/include/libssh2_sftp.h # [not win]
-
- - test -f $PREFIX/lib/libssh2.a # [not win]
- - test -f $PREFIX/lib/libssh2${SHLIB_EXT} # [not win]
- - if not exist %LIBRARY_INC%\\libssh2.h exit 1 # [win]
- - if not exist %LIBRARY_INC%\\libssh2_publickey.h exit 1 # [win]
- - if not exist %LIBRARY_INC%\\libssh2_sftp.h exit 1 # [win]
- - if not exist %LIBRARY_LIB%\\libssh2.lib exit 1 # [win]
- about:
- home: https://www.libssh2.org/
- license: BSD-3-Clause
- license_family: BSD
- license_file: COPYING
- summary: 'the SSH library'
- description: |
- libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.
- doc_url: https://www.libssh2.org/docs.html
- dev_url: https://github.com/libssh2/libssh2
- extra:
- recipe-maintainers:
- - shadowwalkersb
|