{% set version = '%s_%04i_%s'|format(GIT_DESCRIBE_TAG or 'v0.X', GIT_DESCRIBE_NUMBER|int, GIT_DESCRIBE_HASH or 'gUNKNOWN') %}

package:
  name: iceFUNprog
  version: {{ version }}

source:
  git_url: https://github.com/y2kbugger/iceFUNprog.git
  git_rev: makefile

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

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - pkg-config
  host:
    - libusb
  run: []

about:
  home: https://github.com/y2kbugger/iceFUNprog
  license_file: LICENSE
  summary: 'Programmer for Devantech iCE40 modules, iceFUN and iceWerx'

extra:
  maintainers:
    - Tim 'mithro' Ansell <mithro@mithis.com>
    - Zak Kohler <git@y2kbugger.com>
    - HDMI2USB Project - https://hdmi2usb.tv <hdmi2usb@googlegroups.com>

{% set version = '%s_%04i_%s'|format(GIT_DESCRIBE_TAG or 'v0.X', GIT_DESCRIBE_NUMBER|int, GIT_DESCRIBE_HASH or 'gUNKNOWN') %}

package:
  name: icefunprog
  version: {{ version }}

source:
  git_url: https://github.com/y2kbugger/iceFUNprog.git
  git_rev: makefile

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

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - pkg-config
  host:
    - libusb
  run: []

about:
  home: https://github.com/y2kbugger/iceFUNprog
  license_file: LICENSE
  summary: 'Programmer for Devantech iCE40 modules, iceFUN and iceWerx'

extra:
  maintainers:
    - Tim 'mithro' Ansell <mithro@mithis.com>
    - Zak Kohler <git@y2kbugger.com>
    - HDMI2USB Project - https://hdmi2usb.tv <hdmi2usb@googlegroups.com>

Fix conda package name case
Fix conda package name case
