{% set version = "1.0" %}

package:
    name: backtrace
    version: {{ version }}

source:
    url: https://github.com/ianlancetaylor/libbacktrace/archive/177940370e4a6b2509e92a0aaa9749184e64af43.zip
    sha256: 21ac9a4209f7aeef766c482be53a7fa365063c031c7077e2070b491202983b31

build:
    number: 0
    skip: true  # [win]

requirements:
    build:
        - zlib 1.2.11  # [linux]
    run:
        - zlib 1.2.11  # [linux]

test:
    commands:
        - test -f ${PREFIX}/lib/libbacktrace.a
        - test -f ${PREFIX}/lib/libbacktrace.so     # [linux]
        - test -f ${PREFIX}/lib/libbacktrace.dylib  # [osx]
        - test -f ${PREFIX}/include/backtrace.h
        
about:
    home: https://github.com/ianlancetaylor/libbacktrace
    license: BSD 3-clause
    summary: A C library that may be linked into a C/C++ program to produce symbolic backtraces
    license_file: LICENSE

extra:
    recipe-maintainers:
        - bluescarni

{% set version = "1.0" %}

package:
    name: backtrace
    version: {{ version }}

source:
    url: https://github.com/ianlancetaylor/libbacktrace/archive/177940370e4a6b2509e92a0aaa9749184e64af43.zip
    sha256: 21ac9a4209f7aeef766c482be53a7fa365063c031c7077e2070b491202983b31

build:
    number: 0
    skip: true  # [win and osx]

requirements:
    build:
        - zlib 1.2.11
    run:
        - zlib 1.2.11

test:
    commands:
        - test -f ${PREFIX}/lib/libbacktrace.a
        - test -f ${PREFIX}/lib/libbacktrace.so
        - test -f ${PREFIX}/include/backtrace.h
        
about:
    home: https://github.com/ianlancetaylor/libbacktrace
    license: BSD 3-clause
    summary: A C library that may be linked into a C/C++ program to produce symbolic backtraces
    license_file: LICENSE

extra:
    recipe-maintainers:
        - bluescarni

Disable the OSX build altogether.
Disable the OSX build altogether.
