123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- {% set name = "nghttp2" %}
- {% set version = "1.52.0" %}
- package:
- name: {{ name|lower }}
- version: {{ version }}
- source:
- url: https://github.com/nghttp2/{{ name }}/releases/download/v{{ version }}/nghttp2-{{ version }}.tar.gz
- sha256: 9877caa62bd72dde1331da38ce039dadb049817a01c3bdee809da15b754771b8
- build:
- number: 1
- skip: true # [not unix]
- requirements:
- build:
- - libtool # [unix]
- - {{ compiler('c') }}
- - {{ compiler('cxx') }}
- - make
- - pkg-config >=0.20 # [unix]
- host:
- - zlib
- - openssl {{ openssl }} # [unix]
- - libev >=4.11
- - c-ares >=1.7.5
- run:
- - zlib
- # exact pin handled through openssl run_exports
- - openssl # [unix]
- - libev >=4.11
- - c-ares >=1.7.5
- - libstdcxx-ng # [linux]
- outputs:
- - name: libnghttp2
- script: install.sh # [unix]
- build:
- run_exports:
- - {{ pin_subpackage('libnghttp2') }}
- missing_dso_whitelist:
- - $RPATH/ld64.so.1 # [s390x]
- requirements:
- build:
- - {{ compiler('c') }}
- - {{ compiler('cxx') }}
- - make
- host:
- - zlib
- - openssl {{ openssl }} # [unix]
- - libev >=4.11
- - c-ares >=1.7.5
- run:
- - zlib
- # exact pin handled through openssl run_exports
- - openssl # [unix]
- - libev >=4.11
- - c-ares >=1.7.5
- - libstdcxx-ng # [linux]
- files:
- - include/nghttp2/nghttp2* # [unix]
- - lib/libnghttp2* # [unix]
- - lib/nghttp2* # [unix]
- - lib/pkgconfig/libnghttp2* # [unix]
- - bin/nghttp* # [unix]
- test:
- commands:
- - nghttp -nv https://nghttp2.org
- - test ! -f ${PREFIX}/lib/lib{{ name }}.a # [unix]
- - test -f ${PREFIX}/lib/lib{{ name }}.so # [linux]
- - name: libnghttp2-static
- script: install.sh # [unix]
- build:
- skip: true # [not unix]
- requirements:
- build:
- - {{ compiler('c') }}
- - {{ compiler('cxx') }}
- - make
- host:
- - {{ pin_subpackage('libnghttp2', exact=True) }}
- run:
- - {{ pin_subpackage('libnghttp2', exact=True) }}
- - libev-static
- - c-ares-static
- test:
- commands:
- - test -f ${PREFIX}/lib/lib{{ name }}.a # [unix]
- about:
- home: https://github.com/nghttp2/nghttp2
- license: MIT
- license_family: MIT
- license_file: COPYING
- summary: This is an implementation of Hypertext Transfer Protocol version 2.
- description: |
- This is an implementation of the Hypertext Transfer Protocol version 2 in C.
- The framing layer of HTTP/2 is implemented as a reusable C library. On top
- of that, we have implemented an HTTP/2 client, server and proxy. We have
- also developed load test and benchmarking tools for HTTP/2.
- doc_url: https://nghttp2.org/documentation/
- dev_url: https://github.com/nghttp2/nghttp2
- extra:
- recipe-maintainers:
- - cpaulik
- - mariusvniekerk
- - wolfv
|