From ce317674bf8b7c3fcad30e92c58f517c1bb49342 Mon Sep 17 00:00:00 2001
From: 健美猫 <weijianwen@gmail.com>
Date: Thu, 4 Jan 2018 00:03:35 +0800
Subject: Add a new version and runtime dependency for MotionCor2. (#6817)

* Update motioncor2 to 1.0.4 and add libtiff dependency.

* Add comments for libtiff dependency in MotionCor2.
---
 var/spack/repos/builtin/packages/motioncor2/package.py | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'var')

diff --git a/var/spack/repos/builtin/packages/motioncor2/package.py b/var/spack/repos/builtin/packages/motioncor2/package.py
index 304e369d99..cd4db241f0 100644
--- a/var/spack/repos/builtin/packages/motioncor2/package.py
+++ b/var/spack/repos/builtin/packages/motioncor2/package.py
@@ -38,11 +38,14 @@ class Motioncor2(Package):
     homepage = "http://msg.ucsf.edu/em/software"
     url      = "http://msg.ucsf.edu/MotionCor2/MotionCor2-1.0.2.tar.gz"
 
+    version('1.0.4',        '5fc0a35d9518b2df17104187dab63fc6')
     version('1.0.2',        'f2f4c5b09170ab8480ca657f14cdba2b')
     version('1.0.1',        '73d94a80abdef9bf37bbc80fbbe76622')
     version('1.0.0',        '490f4df8daa9f5ddb9eec3962ba3ddf5')
 
     depends_on('cuda@8.0:8.99', type='run')
+    # libtiff.so.3 is required
+    depends_on('libtiff@3.0:3.99', type='run')
 
     def install(self, spec, prefix):
         mkdirp(prefix.bin)
-- 
cgit v1.2.3-70-g09d2