-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathmeta.yaml
56 lines (49 loc) · 1.54 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{% set version = "11.1.4" %}
package:
name: fmt
version: {{ version }}
source:
url: https://github.com/fmtlib/fmt/archive/{{ version }}.tar.gz
sha256: ac366b7b4c2e9f0dde63a59b3feb5ee59b67974b14ee5dc9ea8ad78aa2c1ee1e
build:
number: 1
run_exports:
- {{ pin_subpackage('fmt', max_pin='x.x') }}
requirements:
build:
- {{ compiler('cxx') }}
- {{ stdlib("c") }}
- cmake
- make # [unix]
test:
commands:
- test -d ${PREFIX}/include/fmt # [unix]
- test -f ${PREFIX}/include/fmt/core.h # [unix]
- test -f ${PREFIX}/include/fmt/format.h # [unix]
- test -f ${PREFIX}/lib/cmake/fmt/fmt-config.cmake # [unix]
- test -f ${PREFIX}/lib/libfmt.so # [linux]
- test -f ${PREFIX}/lib/libfmt.dylib # [osx]
- if not exist %LIBRARY_PREFIX%\include\fmt\core.h (exit 1) # [win]
- if not exist %LIBRARY_PREFIX%\include\fmt\format.h (exit 1) # [win]
- if not exist %LIBRARY_PREFIX%\lib\cmake\fmt\fmt-config.cmake (exit 1) # [win]
- if not exist %LIBRARY_PREFIX%\bin\fmt.dll (exit 1) # [win]
downstreams:
- libmambapy
about:
home: https://fmt.dev/latest/
license: MIT
license_family: MIT
license_file: LICENSE
summary: '{fmt} is an open-source formatting library for C++'
description: |
{fmt} is an open-source formatting library for C++.
It can be used as a safe and fast alternative to (s)printf and iostreams.
doc_url: https://fmt.dev/latest/
dev_url: https://github.com/fmtlib/fmt
extra:
recipe-maintainers:
- tdegeus
- vitaut
- saraedum
- bdice
- h-vetinari