{% set version = "1.1.3" %}

package:
  name: snappy
  version: {{ version }}

source:
  url: https://github.com/google/snappy/releases/download/{{ version }}/snappy-{{ version }}.tar.gz
  fn: snappy-{{ version }}.tar.gz
  md5: 7358c82f133dc77798e4c2062a749b73

requirements:
  build:
    - msinttypes  # [win]
    - libtool     # [unix]
    - automake    # [unix]
    - pkg-config  # [unix]

test:
  commands:
    - test -e $PREFIX/include/snappy.h   # [unix]
    - test -e $PREFIX/include/snappy-stubs-public.h  # [unix]
    - test -e $PREFIX/lib/libsnappy.dylib  # [osx]
    - test -e $PREFIX/lib/libsnappy.a      # [unix]
    - test -e $PREFIX/lib/libsnappy.so     # [linux]

about:
  home: https://github.com/google/snappy
  summary: A fast compressor/decompressor
  license: BSD 3-clause
  license_file: COPYING
  license_family: BSD

extra:
  recipe-maintainers:
    - groutr

{% set version = "1.1.3" %}

package:
  name: snappy
  version: {{ version }}

source:
  url: https://github.com/google/snappy/releases/download/{{ version }}/snappy-{{ version }}.tar.gz
  fn: snappy-{{ version }}.tar.gz
  md5: 7358c82f133dc77798e4c2062a749b73

build:
  number: 0

requirements:
  build:
    - msinttypes  # [win]
    - libtool     # [unix]
    - automake    # [unix]
    - pkg-config  # [unix]

test:
  commands:
    - test -e $PREFIX/include/snappy.h   # [unix]
    - test -e $PREFIX/include/snappy-stubs-public.h  # [unix]
    - test -e $PREFIX/lib/libsnappy.dylib  # [osx]
    - test -e $PREFIX/lib/libsnappy.a      # [unix]
    - test -e $PREFIX/lib/libsnappy.so     # [linux]

about:
  home: https://github.com/google/snappy
  summary: A fast compressor/decompressor
  license: BSD 3-clause
  license_file: COPYING
  license_family: BSD

extra:
  recipe-maintainers:
    - groutr

Set the build number to 0 explicitly.
snappy: Set the build number to 0 explicitly.
