meta.yaml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. {% set version = "14.2.4" %}
  2. {% set sha_hash = "55c780f7faa5c8cabd83ebbb84b68e5e0e09732de70a129f6b3c801e905415dd" %}
  3. {% set build_number = "1" %}
  4. package:
  5. name: reproc
  6. version: '{{ version }}'
  7. source:
  8. - url: https://github.com/DaanDeMeyer/reproc/archive/v{{ version }}.tar.gz
  9. sha256: {{ sha_hash }}
  10. patches:
  11. - apple_gettime.patch # [osx]
  12. build:
  13. number: {{ build_number }}
  14. missing_dso_whitelist: # [s390x]
  15. - $RPATH/ld64.so.1 # [s390x] Something is slightly amiss in the s390x build process.
  16. requirements:
  17. build:
  18. - {{ compiler("c") }}
  19. - {{ compiler("cxx") }}
  20. - cmake
  21. - ninja
  22. outputs:
  23. - name: reproc
  24. script: build_c.sh # [unix]
  25. script: bld_c.bat # [win]
  26. build:
  27. run_exports:
  28. - "{{ pin_subpackage('reproc', 'x.x') }}"
  29. requirements:
  30. build:
  31. - {{ compiler("c") }}
  32. - cmake
  33. - ninja
  34. test:
  35. commands:
  36. - test -f ${PREFIX}/include/reproc/run.h # [unix]
  37. - test -f ${PREFIX}/lib/libreproc${SHLIB_EXT} # [unix]
  38. - test -f ${PREFIX}/lib/cmake/reproc/reproc-config-version.cmake # [unix]
  39. - test ! -f ${PREFIX}/lib/libreproc.a # [unix]
  40. - if exist %LIBRARY_PREFIX%\include\reproc\run.h (exit 0) else (exit 1) # [win]
  41. - if exist %LIBRARY_PREFIX%\lib\cmake\reproc\reproc-config-version.cmake (exit 0) else (exit 1) # [win]
  42. - if exist %LIBRARY_PREFIX%\lib\reproc.lib (exit 0) else (exit 1) # [win]
  43. - if exist %LIBRARY_PREFIX%\bin\reproc.dll (exit 0) else (exit 1) # [win]
  44. - name: reproc-cpp
  45. script: build_cpp.sh # [unix]
  46. script: bld_cpp.bat # [win]
  47. build:
  48. run_exports:
  49. - {{ pin_subpackage('reproc-cpp', 'x.x') }}
  50. requirements:
  51. build:
  52. - {{ compiler("c") }}
  53. - {{ compiler("cxx") }}
  54. - cmake
  55. - ninja
  56. host:
  57. - {{ pin_subpackage('reproc', exact=True ) }}
  58. run:
  59. - {{ pin_subpackage('reproc', exact=True ) }}
  60. test:
  61. commands:
  62. - test -f ${PREFIX}/include/reproc++/reproc.hpp # [unix]
  63. - test -f ${PREFIX}/lib/libreproc++${SHLIB_EXT} # [unix]
  64. - test -f ${PREFIX}/lib/cmake/reproc++/reproc++-config.cmake # [unix]
  65. - test ! -f ${PREFIX}/lib/libreproc++.a # [unix]
  66. - if exist %LIBRARY_PREFIX%\include\reproc++\reproc.hpp (exit 0) else (exit 1) # [win]
  67. - if exist %LIBRARY_PREFIX%\lib\cmake\reproc++\reproc++-config.cmake (exit 0) else (exit 1) # [win]
  68. - if exist %LIBRARY_PREFIX%\lib\reproc++.lib (exit 0) else (exit 1) # [win]
  69. - if exist %LIBRARY_PREFIX%\bin\reproc++.dll (exit 0) else (exit 1) # [win]
  70. - name: reproc-static
  71. script: build_c.sh # [unix]
  72. script: bld_c.bat # [win]
  73. build:
  74. ignore_run_exports:
  75. - reproc
  76. requirements:
  77. build:
  78. - {{ compiler("c") }}
  79. - cmake
  80. - ninja
  81. host:
  82. - {{ pin_subpackage('reproc', exact=True ) }}
  83. test:
  84. commands:
  85. - test ! -f ${PREFIX}/include/reproc/run.h # [unix]
  86. - test ! -f ${PREFIX}/lib/libreproc${SHLIB_EXT} # [unix]
  87. - test ! -f ${PREFIX}/lib/cmake/reproc/reproc-config-version.cmake # [unix]
  88. - test -f ${PREFIX}/lib/libreproc.a # [unix]
  89. - if exist %LIBRARY_PREFIX%\lib\reproc_static.lib (exit 0) else (exit 1) # [win]
  90. - name: reproc-cpp-static
  91. script: build_cpp.sh # [unix]
  92. script: bld_cpp.bat # [win]
  93. build:
  94. ignore_run_exports:
  95. - reproc
  96. - reproc-cpp
  97. requirements:
  98. build:
  99. - {{ compiler("c") }}
  100. - {{ compiler("cxx") }}
  101. - cmake
  102. - ninja
  103. host:
  104. - {{ pin_subpackage('reproc', exact=True ) }}
  105. - {{ pin_subpackage('reproc-static', exact=True ) }}
  106. - {{ pin_subpackage('reproc-cpp', exact=True ) }}
  107. test:
  108. commands:
  109. - test ! -f ${PREFIX}/include/reproc++/reproc.hpp # [unix]
  110. - test ! -f ${PREFIX}/lib/libreproc++${SHLIB_EXT} # [unix]
  111. - test ! -f ${PREFIX}/lib/cmake/reproc++/reproc++-config.cmake # [unix]
  112. - test -f ${PREFIX}/lib/libreproc++.a # [unix]
  113. - if exist %LIBRARY_PREFIX%\lib\reproc++_static.lib (exit 0) else (exit 1) # [win]
  114. about:
  115. home: https://github.com/DaanDeMeyer/reproc
  116. license_file: LICENSE
  117. license: MIT
  118. license_family: MIT
  119. summary: reproc (Redirected Process) is a cross-platform C/C++ library that simplifies starting, stopping and communicating with external programs.
  120. dev_url: https://github.com/DaanDeMeyer/reproc
  121. doc_url: https://github.com/DaanDeMeyer/reproc#reproc
  122. doc_src_url: https://github.com/DaanDeMeyer/reproc
  123. extra:
  124. recipe-maintainers:
  125. - wolfv
  126. - DaanDeMeyer