mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
70373666f1
* new file: projects/pngquant.org/lib/package.yml new file: projects/pngquant.org/lib/test.c * script shorter
25 lines
No EOL
519 B
YAML
25 lines
No EOL
519 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:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
github.com/lu-zero/cargo-c: '*'
|
|
rust-lang.org/cargo: '*'
|
|
|
|
working-directory: imagequant-sys
|
|
script: cargo cinstall --prefix {{prefix}}
|
|
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
script:
|
|
- cc test.c -limagequant -o test
|
|
- ./test |