pantry/projects/littlecms.com/package.yml
2023-10-01 20:41:57 -04:00

35 lines
725 B
YAML

distributable:
url: https://github.com/mm2/Little-CMS/releases/download/lcms{{version.major}}.{{version.minor}}/lcms2-{{version.major}}.{{version.minor}}.tar.gz
strip-components: 1
versions:
github: mm2/Little-CMS/releases/tags
strip: /^lcms/
dependencies:
simplesystems.org/libtiff: ^4
libjpeg-turbo.org: ^2
build:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }}
make install
env:
ARGS:
- --prefix="{{prefix}}"
provides:
- bin/jpgicc
- bin/linkicc
- bin/psicc
- bin/tificc
- bin/transicc
test:
dependencies:
gnu.org/wget: '*'
script: |
wget https://webkit.org/blog-files/color-gamut/Shoes-sRGB.jpg
jpgicc -iscanner.icc Shoes-sRGB.jpg out.jpg