diff options
author | ynanyam <31993194+ynanyam@users.noreply.github.com> | 2018-06-06 16:18:03 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-06-06 16:18:03 -0500 |
commit | 5c3adff49b3bb65296e84aeffbfb86eb9ff6dc1d (patch) | |
tree | 0ca15f0207eb7261dd46d73940e8bb80082fb9b1 | |
parent | 0495b5474b4595849fea92e518a2971941c2cd20 (diff) | |
download | spack-5c3adff49b3bb65296e84aeffbfb86eb9ff6dc1d.tar.gz spack-5c3adff49b3bb65296e84aeffbfb86eb9ff6dc1d.tar.bz2 spack-5c3adff49b3bb65296e84aeffbfb86eb9ff6dc1d.tar.xz spack-5c3adff49b3bb65296e84aeffbfb86eb9ff6dc1d.zip |
libjpeg-turbo: updated checksums and added autoreconf for older versions (#8411)
-rw-r--r-- | var/spack/repos/builtin/packages/libjpeg-turbo/package.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/libjpeg-turbo/package.py b/var/spack/repos/builtin/packages/libjpeg-turbo/package.py index 543e87d81a..a8dfb64d47 100644 --- a/var/spack/repos/builtin/packages/libjpeg-turbo/package.py +++ b/var/spack/repos/builtin/packages/libjpeg-turbo/package.py @@ -35,9 +35,9 @@ class LibjpegTurbo(Package): url = "https://github.com/libjpeg-turbo/libjpeg-turbo/archive/1.5.90.tar.gz" version('1.5.90', '85f7f9c377b70cbf48e61726097d4efa') - version('1.5.3', '7c82f0f6a3130ec06b8a4d0b321cbca3') - version('1.5.0', '3fc5d9b6a8bce96161659ae7a9939257') - version('1.3.1', '2c3a68129dac443a72815ff5bb374b05') + version('1.5.3', '5b7549d440b86c98a517355c102d155e') + version('1.5.0', 'eff98ac84de05eafc65ae96caa6e23e9') + version('1.3.1', '5e4bc19c3cb602bcab1296b9bee5124c') provides('jpeg') @@ -47,14 +47,18 @@ class LibjpegTurbo(Package): # TODO: Implement the selection between two supported assemblers. # depends_on("yasm", type='build') depends_on("nasm", type='build') + depends_on('autoconf', type='build', when="@1.3.1:1.5.3") + depends_on('automake', type='build', when="@1.3.1:1.5.3") + depends_on('libtool', type='build', when="@1.3.1:1.5.3") depends_on('cmake', type='build', when="@1.5.90:") @property def libs(self): return find_libraries("libjpeg*", root=self.prefix, recursive=True) - @when('@:1.5.3') + @when('@1.3.1:1.5.3') def install(self, spec, prefix): + autoreconf('-ifv') configure('--prefix=%s' % prefix) make() make('install') |