diff options
-rw-r--r-- | var/spack/repos/builtin/packages/openjpeg/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openjpeg/package.py b/var/spack/repos/builtin/packages/openjpeg/package.py index b22de4452a..9790c52e7d 100644 --- a/var/spack/repos/builtin/packages/openjpeg/package.py +++ b/var/spack/repos/builtin/packages/openjpeg/package.py @@ -43,3 +43,7 @@ class Openjpeg(CMakePackage): version('2.0', 'cdf266530fee8af87454f15feb619609') version('1.5.2', '545f98923430369a6b046ef3632ef95c') version('1.5.1', 'd774e4b5a0db5f0f171c4fc0aabfa14e') + + def url_for_version(self, version): + fmt = 'https://github.com/uclouvain/openjpeg/archive/version.{0}.tar.gz' + return fmt.format(version.dotted) |