mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
36 lines
737 B
YAML
36 lines
737 B
YAML
distributable:
|
|
url: https://jpegclub.org/reference/wp-content/uploads/2022/01/jpegsrc.v{{version.raw}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://ijg.org/files/
|
|
match: /jpegsrc\.v\d+[a-z]?\.tar\.gz/
|
|
strip:
|
|
- /jpegsrc\.v/
|
|
- /\.tar\.gz/
|
|
|
|
build:
|
|
dependencies:
|
|
script: |-
|
|
./configure \
|
|
--disable-dependency-tracking \
|
|
--disable-silent-rules \
|
|
--prefix="{{ prefix }}"
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
test:
|
|
dependencies:
|
|
curl.se: '*'
|
|
env:
|
|
FIXTURE: https://samplelib.com/lib/preview/jpeg/sample-clouds-400x300.jpg
|
|
script: |
|
|
curl $FIXTURE > test.jpeg
|
|
djpeg test.jpeg
|
|
|
|
provides:
|
|
- bin/cjpeg
|
|
- bin/djpeg
|
|
- bin/jpegtran
|
|
- bin/rdjpgcom
|
|
- bin/wrjpgcom
|