{% set version = "1.0.3" %}

package:
  name: c99-to-c89
  version: {{ version }}

source:
  fn: c99-to-c89-{{ version }}.zip  # [win]
  url: https://github.com/libav/c99-to-c89/releases/download/release-1.0.3/c99-to-c89-{{ version }}.zip  # [win]

build:
  number: 0
  skip: True  # [unix]
  
test:
  commands:
    # Would be good to run this - but can't because there are no version or help
	# commands and without the proper input arguments it always returns exit code 1
    - if not exist %PREFIX%\\Library\\bin\\c99wrap.exe exit 1  # [win]
    - if not exist %PREFIX%\\Library\\bin\\c99conv.exe exit 1  # [win]

about:
  home: https://github.com/libav/c99-to-c89/
  license: Apache v2
  summary: 'Tool to convert C99 code to MSVC-compatible C89'

extra:
  recipe-maintainers:
    - jakirkham

{% set version = "1.0.3" %}

package:
  name: c99-to-c89
  version: {{ version }}

source:
  fn: c99-to-c89-{{ version }}.zip  # [win]
  url: https://github.com/libav/c99-to-c89/releases/download/release-1.0.3/c99-to-c89-{{ version }}.zip  # [win]

build:
  number: 0
  skip: True  # [unix]
  
test:
  commands:
    # Would be good to run this - but can't because there are no version or help
	# commands and without the proper input arguments it always returns exit code 1
    - if not exist %PREFIX%\\Library\\bin\\c99wrap.exe exit 1  # [win]
    - if not exist %PREFIX%\\Library\\bin\\c99conv.exe exit 1  # [win]

about:
  home: https://github.com/libav/c99-to-c89/
  license: Apache v2
  summary: 'Tool to convert C99 code to MSVC-compatible C89'

extra:
  recipe-maintainers:
    - patricksnape

Add @patricksnape as a maintainer.
c99-to-c89: Add @patricksnape as a maintainer.
