pantry/projects/pngquant.org/lib/package.yml
Jacob Heider 4b139e3e72
fix(pngquant)
closes #3644
2023-10-13 13:33:31 -04:00

22 lines
458 B
YAML

distributable:
url: https://github.com/ImageOptim/libimagequant/archive/{{version}}.tar.gz
strip-components: 1
versions:
github: ImageOptim/libimagequant/tags
display-name: libimagequant
build:
dependencies:
github.com/lu-zero/cargo-c: '*'
rust-lang.org/cargo: '*'
rust-lang.org: ^1.65
working-directory: imagequant-sys
script: cargo cinstall --prefix {{prefix}}
test:
script:
- cc test.c -limagequant -o test
- ./test