pantry/projects/littlecms.com/package.yml

35 lines
725 B
YAML
Raw Normal View History

2023-03-03 20:38:02 +03:00
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
2023-03-03 20:38:02 +03:00
versions:
2023-04-11 14:40:59 +03:00
github: mm2/Little-CMS/releases/tags
strip: /^lcms/
2023-03-03 20:38:02 +03:00
dependencies:
simplesystems.org/libtiff: ^4
libjpeg-turbo.org: ^2
build:
script: |
./configure $ARGS
2023-04-11 14:40:59 +03:00
make --jobs {{ hw.concurrency }}
2023-03-03 20:38:02 +03:00
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