pantry/projects/pngquant.org/lib/package.yml
Andrew 70373666f1
pngquant.org/lib (#2287)
* new file:   projects/pngquant.org/lib/package.yml
	new file:   projects/pngquant.org/lib/test.c

* script shorter
2023-06-24 16:42:42 -04:00

25 lines
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