# This file created by conda-build 3.21.4
# meta.yaml template originally from:
# /home/conda/recipe_root, last modified Fri Sep 24 23:27:03 2021
# ------------------------------------------------

package:
  name: libarchive
  version: 3.5.2
source:
  patches:
    - patches/0001-Add-lib-to-CMAKE_FIND_LIBRARY_PREFIXES-for-lzma.patch
    - patches/0003-VC9-compatibility-test-for-BCryptDeriveKeyPBKDF2.patch
    - patches/0004-VC9-compatibility-define-BCRYPT_SUCCESS.patch
    - patches/0006-VC-openssl-define-inline-as-__inline.patch
    - patches/0007-CMake-VC9-compatibility-ignore-some-warnings.patch
    - patches/0008-VC9-compatibility-remove-C99.patch
    - patches/0009-CMake-Force-Multi-threaded-DLL-runtime.patch
  sha256: 126058cb4cf50e36bcf83307f5d987bde2ecebabcae985b6a153116362d25b7b
  url: https://github.com/libarchive/libarchive/archive/v3.5.2.tar.gz
build:
  number: '1'
  run_exports:
    - libarchive >=3.5.2,<3.6.0a0
  string: hccf745f_1
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 1_gnu
    - autoconf 2.69 pl5320h36c2ea0_10
    - automake 1.16.2 pl5320ha770c72_3
    - binutils_impl_linux-64 2.36.1 h193b22a_2
    - binutils_linux-64 2.36 hf3e587d_1
    - gcc_impl_linux-64 9.4.0 h03d3576_8
    - gcc_linux-64 9.4.0 h391b98a_1
    - kernel-headers_linux-64 2.6.32 he073ed8_14
    - ld_impl_linux-64 2.36.1 hea4e1c9_2
    - libgcc-devel_linux-64 9.4.0 hd854feb_8
    - libgcc-ng 11.2.0 h1d223b6_8
    - libgomp 11.2.0 h1d223b6_8
    - libsanitizer 9.4.0 h79bfe98_8
    - libstdcxx-ng 11.2.0 he4da1e4_8
    - libtool 2.4.6 h9c3ff4c_1008
    - m4 1.4.18 h516909a_1001
    - make 4.3 hd18ef5c_1
    - perl 5.32.1 0_h7f98852_perl5
    - pkg-config 0.29.2 h36c2ea0_1008
    - sysroot_linux-64 2.12 he073ed8_14
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 1_gnu
    - bzip2 1.0.8 h7f98852_4
    - ca-certificates 2021.5.30 ha878542_0
    - icu 68.1 h58526e2_0
    - libgcc-ng 11.2.0 h1d223b6_8
    - libgomp 11.2.0 h1d223b6_8
    - libiconv 1.16 h516909a_0
    - libstdcxx-ng 11.2.0 he4da1e4_8
    - libxml2 2.9.12 h72842e0_0
    - lz4-c 1.9.3 h9c3ff4c_1
    - lzo 2.10 h516909a_1000
    - openssl 1.1.1l h7f98852_0
    - xz 5.2.5 h516909a_1
    - zlib 1.2.11 h516909a_1010
    - zstd 1.5.0 ha95c52a_0
  run:
    - bzip2 >=1.0.8,<2.0a0
    - libgcc-ng >=9.4.0
    - libxml2 >=2.9.12,<2.10.0a0
    - lz4-c >=1.9.3,<1.9.4.0a0
    - lzo >=2.10,<3.0a0
    - openssl >=1.1.1l,<1.1.2a
    - xz >=5.2.5,<5.3.0a0
    - zlib >=1.2.11,<1.3.0a0
    - zstd >=1.5.0,<1.6.0a0
test:
  commands:
    - test -f "${PREFIX}/lib/pkgconfig/libarchive.pc"
    - test -f "${PREFIX}/include/archive.h"
    - test -f "${PREFIX}/include/archive_entry.h"
    - test -f "${PREFIX}/lib/libarchive.a"
    - test -f "${PREFIX}/lib/libarchive${SHLIB_EXT}"
    - bsdcat --version
    - bsdcpio --version
    - bsdtar --version
    - bsdtar -tf test/hello_world.xar
  files:
    - test/hello_world.xar
about:
  home: http://www.libarchive.org/
  license: BSD-2-Clause
  license_family: BSD
  license_file: COPYING
  summary: Multi-format archive and compression library
extra:
  copy_test_source_files: true
  final: true
  recipe-maintainers:
    - jakirkham
    - mingwandroid
    - ocefpaf
