package:
  name: libusb
  version: 1.0.20

source:
  fn:   libusb-1.0.20.tar.bz2 # [linux]
  url:  https://github.com/libusb/libusb/releases/download/v1.0.20/libusb-1.0.20.tar.bz2 # [linux]
  sha1: 9537243f165927bde74ad742e6b3effb0bd50cd2 # [linux]
  fn:   libusb.7z # [win]
  url:  https://github.com/libusb/libusb/releases/download/v1.0.20/libusb-1.0.20.7z # [win]
  sha1: 35e4ca3255b4c1c3068e4bc50077abb7d7bb6162 # [win]

build:
  # number: 201803050325
  number: {{ environ.get('DATE_NUM') }}
  # string: 20180305_0325
  string: {{ environ.get('DATE_STR') }}
  script_env:
    - CI
    - TRAVIS

requirements:
  build:
    - system # [linux]
    - {{ compiler('c') }}
  host:
    - pkg-config

about:
  home: http://libusb.org
  license: LGPLv2.1
  summary: 'A cross-platform library to access USB devices'

package:
  name: libusb
  version: 1.0.20

source:
  fn:   libusb-1.0.20.tar.bz2 # [linux]
  url:  https://github.com/libusb/libusb/releases/download/v1.0.20/libusb-1.0.20.tar.bz2 # [linux]
  sha1: 9537243f165927bde74ad742e6b3effb0bd50cd2 # [linux]
  fn:   libusb.7z # [win]
  url:  https://github.com/libusb/libusb/releases/download/v1.0.20/libusb-1.0.20.7z # [win]
  sha1: 35e4ca3255b4c1c3068e4bc50077abb7d7bb6162 # [win]

build:
  # number: 201803050325
  number: {{ environ.get('DATE_NUM') }}
  # string: 20180305_0325
  string: {{ environ.get('DATE_STR') }}
  script_env:
    - CI
    - TRAVIS

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - pkg-config

about:
  home: http://libusb.org
  license: LGPLv2.1
  summary: 'A cross-platform library to access USB devices'

Remove system from libusb dependency.
libusb: Remove system from libusb dependency.
