distributable:
  url: https://github.com/kohler/gifsicle/archive/refs/tags/v{{version.raw}}.tar.gz
  strip-components: 1

versions:
  github: kohler/gifsicle/tags
  strip: /^v/

provides:
  - bin/gifsicle

build:
  dependencies:
    gnu.org/autoconf: ^2
    gnu.org/automake: ^1
  script: |
    autoreconf -i
    ./configure --prefix={{prefix}}
    make install

test:
  script: gifsicle --help
