summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2022-05-25 05:53:39 -0400
committerGitHub <noreply@github.com>2022-05-25 03:53:39 -0600
commit13984a4e8d2c803f59ebcbf2c8ce171b99d18337 (patch)
tree29e8f95ea1b649cab380061e40a2d77571669c84
parentd5c68fdc0dddb876904f58ade73a1de506cc13d9 (diff)
downloadspack-13984a4e8d2c803f59ebcbf2c8ce171b99d18337.tar.gz
spack-13984a4e8d2c803f59ebcbf2c8ce171b99d18337.tar.bz2
spack-13984a4e8d2c803f59ebcbf2c8ce171b99d18337.tar.xz
spack-13984a4e8d2c803f59ebcbf2c8ce171b99d18337.zip
[lcms] Added version 2.13.1 and URL version (#30811)
Co-authored-by: James A Zilberman <jazrc@rit.edu>
-rw-r--r--var/spack/repos/builtin/packages/lcms/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/lcms/package.py b/var/spack/repos/builtin/packages/lcms/package.py
index 8dbc1da3a6..7ceed7fae9 100644
--- a/var/spack/repos/builtin/packages/lcms/package.py
+++ b/var/spack/repos/builtin/packages/lcms/package.py
@@ -14,10 +14,15 @@ class Lcms(AutotoolsPackage):
homepage = "https://www.littlecms.com"
url = "http://downloads.sourceforge.net/project/lcms/lcms/2.9/lcms2-2.9.tar.gz"
+ version('2.13.1', sha256='d473e796e7b27c5af01bd6d1552d42b45b43457e7182ce9903f38bb748203b88')
version('2.9', sha256='48c6fdf98396fa245ed86e622028caf49b96fa22f3e5734f853f806fbc8e7d20')
version('2.8', sha256='66d02b229d2ea9474e62c2b6cd6720fde946155cd1d0d2bffdab829790a0fb22')
version('2.6', sha256='5172528839647c54c3da211837225e221be93e4733f5b5e9f57668f7107e14b1')
+ def url_for_version(self, version):
+ url = "http://downloads.sourceforge.net/project/lcms/lcms/{0}/lcms2-{1}.tar.gz"
+ return url.format(version.up_to(2), version)
+
depends_on('jpeg')
depends_on('libtiff')
depends_on('zlib')