<commit_before>{% set version = "1.5" %}
{% set sha256 = "7c7091e9c86196148bd41177b4590dccb1510bfe6cea5bf7407ff194482eb049" %}

package:
  name: libftdi
  version: '{{ version }}'

source:
  fn:   libftdi1-{{ version }}.tar.bz2
  url:  https://www.intra2net.com/en/developer/libftdi/download/libftdi1-{{ version }}.tar.bz2
  sha256: '{{ sha256 }}'

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

requirements:
  build:
    - {{ compiler('cxx') }}
    - {{ compiler('c') }}
    - cmake
    - ninja
    - pkgconfig
  host:
    - libusb

test:
  commands:
    - test -f ${PREFIX}/include/libftdi1/ftdi.h  # [not win]
    - test -f ${PREFIX}/lib/libftdi1${SHLIB_EXT}  # [not win]
    - test -f ${PREFIX}/lib/pkgconfig/libftdi1.pc  # [not win]
    - test -f ${PREFIX}/lib/cmake/libftdi1/LibFTDI1Config.cmake  # [not win]

about:
  home: https://www.intra2net.com/en/developer/libftdi/
  license: LGPL-2.1-or-later
  summary: 'FTDI USB driver with bitbang mode'
  license_file: LICENSE

extra:
  recipe-maintainers:
    - Tobias-Fischer<commit_msg>Update meta.yaml<commit_after>{% set version = "1.5" %}
{% set sha256 = "7c7091e9c86196148bd41177b4590dccb1510bfe6cea5bf7407ff194482eb049" %}

package:
  name: libftdi
  version: '{{ version }}'

source:
  fn:   libftdi1-{{ version }}.tar.bz2
  url:  https://www.intra2net.com/en/developer/libftdi/download/libftdi1-{{ version }}.tar.bz2
  sha256: '{{ sha256 }}'

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

requirements:
  build:
    - {{ compiler('cxx') }}
    - {{ compiler('c') }}
    - cmake
    - ninja
    - pkgconfig
  host:
    - libusb

test:
  commands:
    - test -f ${PREFIX}/include/libftdi1/ftdi.h  # [unix]
    - test -f ${PREFIX}/lib/libftdi1${SHLIB_EXT}  # [osx]
    - test -f ${PREFIX}/lib/pkgconfig/libftdi1.pc  # [osx]
    - test -f ${PREFIX}/lib/cmake/libftdi1/LibFTDI1Config.cmake  # [osx]
    - test -f ${PREFIX}/lib64/libftdi1${SHLIB_EXT}  # [linux]
    - test -f ${PREFIX}/lib64/pkgconfig/libftdi1.pc  # [linux]
    - test -f ${PREFIX}/lib64/cmake/libftdi1/LibFTDI1Config.cmake  # [linux]

about:
  home: https://www.intra2net.com/en/developer/libftdi/
  license: LGPL-2.1-or-later
  summary: 'FTDI USB driver with bitbang mode'
  license_file: LICENSE

extra:
  recipe-maintainers:
    - Tobias-Fischer
{'fraction_non_alphanumeric': 0.16651943462897525, 'fraction_numerical': 0.0636042402826855, 'mean_word_length': 3.066427289048474, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7627420', 'n_tokens_mistral': 1025, 'n_tokens_neox': 945, 'n_words': 162}