diff --git a/projects/libjpeg-turbo.org/package.yml b/projects/libjpeg-turbo.org/package.yml index 82f7f1f1..a736464d 100644 --- a/projects/libjpeg-turbo.org/package.yml +++ b/projects/libjpeg-turbo.org/package.yml @@ -1,6 +1,6 @@ distributable: - url: https://versaweb.dl.sourceforge.net/project/libjpeg-turbo/{{version}}/libjpeg-turbo-{{version}}.tar.gz - strip-components: 1 + url: https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/{{version.tag}}/libjpeg-turbo-{{version.tag}}.tar.gz + strip-components: 1 versions: github: libjpeg-turbo/libjpeg-turbo @@ -9,14 +9,14 @@ build: dependencies: cmake.org: ^3 working-directory: build - script: | - cmake .. $ARGS - make --jobs {{ hw.concurrency }} install + script: + - cmake .. $ARGS + - make --jobs {{ hw.concurrency }} install env: ARGS: - - -DCMAKE_INSTALL_PREFIX={{prefix}} - - -DCMAKE_BUILD_TYPE=Release - - -DWITH_JPEG8=1 + - -DCMAKE_INSTALL_PREFIX={{prefix}} + - -DCMAKE_BUILD_TYPE=Release + - -DWITH_JPEG8=1 provides: - bin/cjpeg @@ -26,6 +26,6 @@ provides: - bin/tjbench - bin/wrjpgcom -test: | - jpegtran -crop 1x1 -transpose -perfect -outfile out.jpg fixture.jpeg - test -f out.jpg +test: + - jpegtran -crop 1x1 -transpose -perfect -outfile out.jpg fixture.jpeg + - test -f out.jpg