File: C:/Users/fred/anaconda3/pkgs/libdeflate-1.17-h2bbff1b_1/info/recipe/meta.yaml.template
{% set version = "1.17" %}
{% set sha256 = "fa4615af671513fa2a53dc2e7a89ff502792e2bdfc046869ef35160fcc373763" %}
package:
name: libdeflate
version: {{ version }}
source:
url: https://github.com/ebiggers/libdeflate/archive/v{{ version }}.tar.gz
sha256: {{ sha256 }}
patches: # [win]
- patches/0001-don_t_use_bzhi_intrinsics.patch # [win]
build:
number: 1
run_exports:
- {{ pin_subpackage('libdeflate', max_pin='x.x') }}
requirements:
build:
- {{ compiler('c') }}
- make # [unix]
- cmake
- ninja # [win]
- m2-patch # [win]
test:
commands:
- test ! -f ${PREFIX}/lib/libdeflate.a # [unix]
- test -f ${PREFIX}/lib/libdeflate${SHLIB_EXT} # [unix]
- test -f ${PREFIX}/include/libdeflate.h # [unix]
- libdeflate-gzip -h
- libdeflate-gunzip -h
- if not exist %LIBRARY_BIN%\\deflate.dll exit 1 # [win]
- if not exist %LIBRARY_LIB%\\deflate.lib exit 1 # [win]
- if not exist %LIBRARY_INC%\\libdeflate.h exit 1 # [win]
about:
home: https://github.com/ebiggers/libdeflate
license: MIT
license_family: MIT
license_file: COPYING
summary: libdeflate is a library for fast, whole-buffer DEFLATE-based compression and decompression.
description: |
libdeflate is heavily optimized. It is significantly faster than the zlib
library, both for compression and decompression, and especially on x86
processors. In addition, libdeflate provides optional high compression
modes that provide a better compression ratio than the zlib's "level 9".
dev_url: https://github.com/ebiggers/libdeflate
doc_url: https://github.com/ebiggers/libdeflate/blob/master/README.md
extra:
recipe-maintainers:
- dpryan79
- rhpvorderman
- hmaarrfk