mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
4b139e3e72
closes #3644
22 lines
458 B
YAML
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
|