distributable:
  url: https://github.com/MathisRosenhauer/libaec/releases/download/v{{version}}/libaec-{{version}}.tar.gz
  strip-components: 1

versions:
  github: MathisRosenhauer/libaec
  strip: /^v/

build:
  script: |
    ./configure $ARGS
    make --jobs {{ hw.concurrency }} install
  env:
    ARGS:
      - --prefix="{{prefix}}"

test:
  script: |
    cc -o testlibaec fixture.cpp -laec
