summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author健美猞猁 <weijianwen@gmail.com>2018-08-13 00:58:25 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2018-08-12 11:58:25 -0500
commitc68fa10e6b085df1c8fe37a222072868788dc98f (patch)
tree95e79bfae23d421fa7daacc830dffeeb8c9e8aa0
parent0b9434b4ba7e4f9fa933521d50a1e57a117e46e8 (diff)
downloadspack-c68fa10e6b085df1c8fe37a222072868788dc98f.tar.gz
spack-c68fa10e6b085df1c8fe37a222072868788dc98f.tar.bz2
spack-c68fa10e6b085df1c8fe37a222072868788dc98f.tar.xz
spack-c68fa10e6b085df1c8fe37a222072868788dc98f.zip
Install headers and lib files to destination for legacy apps (#8960)
* Install sam.h and libbam.a for legacy apps. * Install bam.h. * Remove which(mkdir).
-rw-r--r--var/spack/repos/builtin/packages/samtools/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/samtools/package.py b/var/spack/repos/builtin/packages/samtools/package.py
index a442229e8a..ae379c55ab 100644
--- a/var/spack/repos/builtin/packages/samtools/package.py
+++ b/var/spack/repos/builtin/packages/samtools/package.py
@@ -59,3 +59,9 @@ class Samtools(Package):
else:
make("prefix=%s" % prefix)
make("prefix=%s" % prefix, "install")
+ # Install dev headers and libs for legacy apps depending on them
+ mkdir(prefix.include)
+ mkdir(prefix.lib)
+ install('sam.h', prefix.include)
+ install('bam.h', prefix.include)
+ install('libbam.a', prefix.lib)