pantry/projects/pngquant.org/lib/package.yml

23 lines
458 B
YAML
Raw Normal View History

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: '*'
2023-10-13 20:33:31 +03:00
rust-lang.org: ^1.65
working-directory: imagequant-sys
script: cargo cinstall --prefix {{prefix}}
test:
script:
- cc test.c -limagequant -o test
- ./test