meta.yaml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {% set name = "nghttp2" %}
  2. {% set version = "1.52.0" %}
  3. package:
  4. name: {{ name|lower }}
  5. version: {{ version }}
  6. source:
  7. url: https://github.com/nghttp2/{{ name }}/releases/download/v{{ version }}/nghttp2-{{ version }}.tar.gz
  8. sha256: 9877caa62bd72dde1331da38ce039dadb049817a01c3bdee809da15b754771b8
  9. build:
  10. number: 1
  11. skip: true # [not unix]
  12. requirements:
  13. build:
  14. - libtool # [unix]
  15. - {{ compiler('c') }}
  16. - {{ compiler('cxx') }}
  17. - make
  18. - pkg-config >=0.20 # [unix]
  19. host:
  20. - zlib
  21. - openssl {{ openssl }} # [unix]
  22. - libev >=4.11
  23. - c-ares >=1.7.5
  24. run:
  25. - zlib
  26. # exact pin handled through openssl run_exports
  27. - openssl # [unix]
  28. - libev >=4.11
  29. - c-ares >=1.7.5
  30. - libstdcxx-ng # [linux]
  31. outputs:
  32. - name: libnghttp2
  33. script: install.sh # [unix]
  34. build:
  35. run_exports:
  36. - {{ pin_subpackage('libnghttp2') }}
  37. missing_dso_whitelist:
  38. - $RPATH/ld64.so.1 # [s390x]
  39. requirements:
  40. build:
  41. - {{ compiler('c') }}
  42. - {{ compiler('cxx') }}
  43. - make
  44. host:
  45. - zlib
  46. - openssl {{ openssl }} # [unix]
  47. - libev >=4.11
  48. - c-ares >=1.7.5
  49. run:
  50. - zlib
  51. # exact pin handled through openssl run_exports
  52. - openssl # [unix]
  53. - libev >=4.11
  54. - c-ares >=1.7.5
  55. - libstdcxx-ng # [linux]
  56. files:
  57. - include/nghttp2/nghttp2* # [unix]
  58. - lib/libnghttp2* # [unix]
  59. - lib/nghttp2* # [unix]
  60. - lib/pkgconfig/libnghttp2* # [unix]
  61. - bin/nghttp* # [unix]
  62. test:
  63. commands:
  64. - nghttp -nv https://nghttp2.org
  65. - test ! -f ${PREFIX}/lib/lib{{ name }}.a # [unix]
  66. - test -f ${PREFIX}/lib/lib{{ name }}.so # [linux]
  67. - name: libnghttp2-static
  68. script: install.sh # [unix]
  69. build:
  70. skip: true # [not unix]
  71. requirements:
  72. build:
  73. - {{ compiler('c') }}
  74. - {{ compiler('cxx') }}
  75. - make
  76. host:
  77. - {{ pin_subpackage('libnghttp2', exact=True) }}
  78. run:
  79. - {{ pin_subpackage('libnghttp2', exact=True) }}
  80. - libev-static
  81. - c-ares-static
  82. test:
  83. commands:
  84. - test -f ${PREFIX}/lib/lib{{ name }}.a # [unix]
  85. about:
  86. home: https://github.com/nghttp2/nghttp2
  87. license: MIT
  88. license_family: MIT
  89. license_file: COPYING
  90. summary: This is an implementation of Hypertext Transfer Protocol version 2.
  91. description: |
  92. This is an implementation of the Hypertext Transfer Protocol version 2 in C.
  93. The framing layer of HTTP/2 is implemented as a reusable C library. On top
  94. of that, we have implemented an HTTP/2 client, server and proxy. We have
  95. also developed load test and benchmarking tools for HTTP/2.
  96. doc_url: https://nghttp2.org/documentation/
  97. dev_url: https://github.com/nghttp2/nghttp2
  98. extra:
  99. recipe-maintainers:
  100. - cpaulik
  101. - mariusvniekerk
  102. - wolfv